mirror of https://github.com/k3s-io/k3s
36 lines
634 B
Plaintext
Executable File
36 lines
634 B
Plaintext
Executable File
{
|
|
"kind": "Service",
|
|
"apiVersion": "v1",
|
|
"metadata": {
|
|
"name": "svc2",
|
|
"namespace": "edit-test",
|
|
"selfLink": "/api/v1/namespaces/edit-test/services/svc2",
|
|
"uid": "31a1b8ae-ea5b-11e6-9b42-acbc32c1ca87",
|
|
"resourceVersion": "1470",
|
|
"creationTimestamp": "2017-02-03T21:53:27Z",
|
|
"labels": {
|
|
"app": "svc2"
|
|
}
|
|
},
|
|
"spec": {
|
|
"ports": [
|
|
{
|
|
"name": "80",
|
|
"protocol": "TCP",
|
|
"port": 80,
|
|
"targetPort": 81
|
|
}
|
|
],
|
|
"selector": {
|
|
"app": "svc2",
|
|
"new-label": "new-value"
|
|
},
|
|
"clusterIP": "10.0.0.55",
|
|
"type": "ClusterIP",
|
|
"sessionAffinity": "None"
|
|
},
|
|
"status": {
|
|
"loadBalancer": {}
|
|
}
|
|
}
|