mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
API v1: ports are not required for all services
This commit is contained in:
@@ -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",
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user