...
1# Please edit the object below. Lines beginning with a '#' will be ignored,
2# and an empty file will abort the edit. If an error occurs while saving this file will be
3# reopened with the relevant failures.
4#
5apiVersion: v1
6kind: Service
7metadata:
8 annotations:
9 kubectl.kubernetes.io/last-applied-configuration: |
10 {"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":{}}}
11 creationTimestamp: "2017-02-27T19:40:53Z"
12 labels:
13 app: svc1
14 name: svc1
15 namespace: edit-test
16 resourceVersion: "670"
17 selfLink: /api/v1/namespaces/edit-test/services/svc1
18 uid: a6c11186-fd24-11e6-b53c-480fcf4a5275
19spec:
20 clusterIP: 10.0.0.204
21 ports:
22 - name: "80"
23 port: 80
24 protocol: TCP
25 targetPort: 80
26 selector:
27 app: svc1
28 sessionAffinity: None
29 type: ClusterIP
30status:
31 loadBalancer: {}
View as plain text