diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 5ae049b6a36..98873605e7f 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -7339,7 +7339,7 @@ "type": "string" }, "ipMode": { - "description": "IPMode specifies the IP mode to use for this ingress Defaults to `VIP` if IP is set, null otherwise", + "description": "IPMode specifies how the load-balancer's IP behaves. Setting this to \"VIP\" indicates that the traffic passing through this load-balancer is delivered with the destination IP and port set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that the load-balancer acts like a proxy, delivering traffic with the destination IP and port set to the node's IP and nodePort or to the pod's IP and targetPort. This field can only be set when the ip field is also set, and defaults to \"VIP\" if not specified.", "type": "string" } }, diff --git a/staging/src/k8s.io/api/core/v1/generated.proto b/staging/src/k8s.io/api/core/v1/generated.proto index 0d1feabb880..c5794cc8ef7 100644 --- a/staging/src/k8s.io/api/core/v1/generated.proto +++ b/staging/src/k8s.io/api/core/v1/generated.proto @@ -2037,8 +2037,12 @@ message LoadBalancerIngress { // +optional optional string hostname = 2; - // IPMode specifies the IP mode to use for this ingress - // Defaults to `VIP` if IP is set, null otherwise + // IPMode specifies how the load-balancer's IP behaves. + // Setting this to "VIP" indicates that the traffic passing through + // this load-balancer is delivered with the destination IP and port set to the load-balancer's IP and port. + // Setting this to "Proxy" indicates that the load-balancer acts like a proxy, + // delivering traffic with the destination IP and port set to the node's IP and nodePort or to the pod's IP and targetPort. + // This field can only be set when the ip field is also set, and defaults to "VIP" if not specified. // +optional optional string ipMode = 3; } diff --git a/staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go b/staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go index f39646af260..de36d8f22ed 100644 --- a/staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/api/core/v1/types_swagger_doc_generated.go @@ -953,7 +953,7 @@ var map_LoadBalancerIngress = map[string]string{ "": "LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.", "ip": "IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)", "hostname": "Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)", - "ipMode": "IPMode specifies the IP mode to use for this ingress Defaults to `VIP` if IP is set, null otherwise", + "ipMode": "IPMode specifies how the load-balancer's IP behaves. Setting this to \"VIP\" indicates that the traffic passing through this load-balancer is delivered with the destination IP and port set to the load-balancer's IP and port. Setting this to \"Proxy\" indicates that the load-balancer acts like a proxy, delivering traffic with the destination IP and port set to the node's IP and nodePort or to the pod's IP and targetPort. This field can only be set when the ip field is also set, and defaults to \"VIP\" if not specified.", } func (LoadBalancerIngress) SwaggerDoc() map[string]string {