Hopefully make NodePort docs clearer

This commit is contained in:
Tim Hockin
2015-06-19 15:08:36 -07:00
parent 3afda5d566
commit ff91fef26b
3 changed files with 45 additions and 40 deletions

View File

@@ -13399,8 +13399,7 @@
"v1.ServiceSpec": {
"id": "v1.ServiceSpec",
"required": [
"ports",
"clusterIP"
"ports"
],
"properties": {
"ports": {
@@ -13415,7 +13414,8 @@
"description": "label keys and values that must match in order to receive traffic for this service; if empty, all pods are selected, if not specified, endpoints must be manually specified"
},
"clusterIP": {
"type": "string"
"type": "string",
"description": "IP address of the service; usually assigned by the system; if specified, it will be allocated to the service if unused or else creation of the service will fail; cannot be updated; 'None' can be specified for a headless service when proxying is not required"
},
"type": {
"type": "string",
@@ -13461,7 +13461,7 @@
"nodePort": {
"type": "integer",
"format": "int32",
"description": "the port on each node on which this service is exposed"
"description": "the port on each node on which this service is exposed when type=NodePort or LoadBalancer; usually assigned by the system; if specified, it will be allocated to the service if unused or else creation of the service will fail"
}
}
},