Skip to content

Instantly share code, notes, and snippets.

@alena1108
Created January 25, 2018 23:30
Show Gist options
  • Select an option

  • Save alena1108/9439b6e39db5c961304cedb57cfc59c7 to your computer and use it in GitHub Desktop.

Select an option

Save alena1108/9439b6e39db5c961304cedb57cfc59c7 to your computer and use it in GitHub Desktop.
endpoints
{
"apiVersion": "v1",
"items": [{
"apiVersion": "v1",
"kind": "Endpoints",
"metadata": {
"creationTimestamp": "2018-01-25T21:35:52Z",
"labels": {
"k8s-app": "nginx"
},
"name": "nginxnodeport",
"namespace": "alena",
"resourceVersion": "11210",
"selfLink": "/api/v1/namespaces/alena/endpoints/nginxnodeport",
"uid": "b804354e-0217-11e8-bda2-08002724bb31"
},
"subsets": [{
"addresses": [{
"ip": "172.17.0.2",
"nodeName": "minikube",
"targetRef": {
"kind": "Pod",
"name": "nginxnodeport-dz5wn",
"namespace": "alena",
"resourceVersion": "11196",
"uid": "b80bae75-0217-11e8-bda2-08002724bb31"
}
},
{
"ip": "172.17.0.5",
"nodeName": "minikube",
"targetRef": {
"kind": "Pod",
"name": "nginxnodeport-vskb2",
"namespace": "alena",
"resourceVersion": "11208",
"uid": "b80a92bb-0217-11e8-bda2-08002724bb31"
}
}
],
"ports": [{
"name": "httptwo",
"port": 90,
"protocol": "TCP"
},
{
"name": "httpone",
"port": 80,
"protocol": "TCP"
}
]
}]
}],
"kind": "List",
"metadata": {
"resourceVersion": "",
"selfLink": ""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment