mirror of https://github.com/k3s-io/k3s
33 lines
1.0 KiB
Plaintext
Executable File
33 lines
1.0 KiB
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:
|
|
annotations:
|
|
kubectl.kubernetes.io/last-applied-configuration: |
|
|
{"kind":"Service","apiVersion":"v1","metadata":{"name":"svc1","creationTimestamp":null,"labels":{"app":"svc1"}},"spec":{"ports":[{"name":"80","protocol":"TCP","port":80,"targetPort":80}],"selector":{"app":"svc1"},"type":"ClusterIP"},"status":{"loadBalancer":{}}}
|
|
creationTimestamp: 2017-02-27T19:40:53Z
|
|
labels:
|
|
app: svc1
|
|
new-label: new-value
|
|
name: svc1
|
|
namespace: edit-test
|
|
resourceVersion: "670"
|
|
selfLink: /api/v1/namespaces/edit-test/services/svc1
|
|
uid: a6c11186-fd24-11e6-b53c-480fcf4a5275
|
|
spec:
|
|
clusterIP: 10.0.0.204
|
|
ports:
|
|
- name: "80"
|
|
port: 80
|
|
protocol: TCP
|
|
targetPort: 80
|
|
selector:
|
|
app: svc1
|
|
sessionAffinity: None
|
|
type: ClusterIP
|
|
status:
|
|
loadBalancer: {}
|