Skip to content

Commit

Permalink
Merge pull request #118252 from aojea/automated-cherry-pick-of-#11596…
Browse files Browse the repository at this point in the history
…6-upstream-release-1.26

Automated cherry pick of #115966: make MixedProtocolNotSupported public

Kubernetes-commit: e48d6e1a94d76bba42a24c0577e37b6c81764524
  • Loading branch information
k8s-publishing-bot committed Jul 12, 2023
2 parents e5ccf2e + b1aa34f commit 223fc11
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4405,6 +4405,9 @@ const (
// LoadBalancerPortsError represents the condition of the requested ports
// on the cloud load balancer instance.
LoadBalancerPortsError = "LoadBalancerPortsError"
// LoadBalancerPortsErrorReason reason in ServiceStatus condition LoadBalancerPortsError
// means the LoadBalancer was not able to be configured correctly.
LoadBalancerPortsErrorReason = "LoadBalancerMixedProtocolNotSupported"
)

// ServiceStatus represents the current status of a service.
Expand Down Expand Up @@ -6761,6 +6764,13 @@ const (
PortForwardRequestIDHeader = "requestID"
)

const (
// MixedProtocolNotSupported error in PortStatus means that the cloud provider
// can't publish the port on the load balancer because mixed values of protocols
// on the same LoadBalancer type of Service are not supported by the cloud provider.
MixedProtocolNotSupported = "MixedProtocolNotSupported"
)

// PortStatus represents the error condition of a service port

type PortStatus struct {
Expand Down

0 comments on commit 223fc11

Please sign in to comment.