API v1: ports are not required for all services

This commit is contained in:
Dominika Hodovska
2016-12-07 11:08:36 +01:00
parent 98a2808b94
commit cb82ef8a60
7 changed files with 28 additions and 31 deletions

View File

@@ -35069,9 +35069,6 @@
},
"v1.ServiceSpec": {
"description": "ServiceSpec describes the attributes that a user creates on a service.",
"required": [
"ports"
],
"properties": {
"clusterIP": {
"description": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies",

View File

@@ -19821,9 +19821,6 @@
"v1.ServiceSpec": {
"id": "v1.ServiceSpec",
"description": "ServiceSpec describes the attributes that a user creates on a service.",
"required": [
"ports"
],
"properties": {
"ports": {
"type": "array",