mirror of https://github.com/k3s-io/k3s
23 lines
480 B
Plaintext
Executable File
23 lines
480 B
Plaintext
Executable File
# Please edit the object below. Lines beginning with a '#' will be ignored,
|
|
# and an empty file will abort the edit. If an error occurs while saving this file will be
|
|
# reopened with the relevant failures.
|
|
#
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
app: svc2
|
|
name: svc2
|
|
namespace: edit-test
|
|
spec:
|
|
ports:
|
|
- name: "80"
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: 81
|
|
selector:
|
|
app: svc2
|
|
new-label: new-value
|
|
sessionAffinity: None
|
|
type: ClusterIP
|