Skip to content

Instantly share code, notes, and snippets.

@iocanel
Created August 24, 2015 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iocanel/79fc34c1d014be038aa6 to your computer and use it in GitHub Desktop.
Save iocanel/79fc34c1d014be038aa6 to your computer and use it in GitHub Desktop.
Kubernetes Service in JSON
{
"kind": "Service",
"metadata": {
"name": "kubernetes",
"namespace": "default",
"labels": {
"component": "apiserver",
"provider": "kubernetes"
}
},
"spec": {
"ports": [
{
"name": "",
"protocol": "TCP",
"port": 443,
"targetPort": 443
}
],
"selector": null,
"portalIP": "172.30.17.2",
"sessionAffinity": "None"
},
"status": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment