New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support shared load balancer health probe mode. By setting `clu… #4891
Conversation
@nilo19 Do you think at some point it would be possible/helpful to switch the default from I think given the way this PR is implemented, we could merge it today, create a warning or some release note to tell users that we intend to change the default and then after an appropriate period, switch the default over, WDYT? If we have an appetite for doing so, we should probably not use |
Author of the original PR (#3887) that his one is superseding here. I agree with @JoelSpeed on here, I think given the envisioned KEP-3836: Improve Kube-proxy ingress connectivity reliability, we should try and move away from the "default" behaviour with servicenodeport and move towards the shared port as the standard. |
/retest |
1 similar comment
/retest |
@feiskyer what do you think of the suggestion? |
@dharmab @JoelSpeed I think it would be safer to use |
@nilo19 yes that was also my suggestion, but I think changing the name away from |
pkg/consts/consts.go
Outdated
|
||
// Load Balancer health probe mode | ||
const ( | ||
ClusterServiceLoadBalancerHealthProbeModeDefault = "default" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to "unshared" for clear?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
That's a good point. Let's change the "default" value to "unshared" here. |
5b3a2b0
to
c1987b7
Compare
Can I suggest |
That's a good suggestion, thanks for actively reviewing. |
…sterServiceLoadBalancerHealthProbeMode` to `shared`, all cluster services will share one health probe targeting the kube-proxy port 10256 and /healthz by default. The health check port and path can be configured by `clusterServiceSharedLoadBalancerHealthProbePort` and `clusterServiceSharedLoadBalancerHealthProbePort`.
c1987b7
to
2e4de2f
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feiskyer, nilo19 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@keithmattix this feature will be ready in >=v1.28.5. |
Ah great. Thanks! |
…
sterServiceLoadBalancerHealthProbeMode
toshared
, all cluster services will share one health probe targeting the kube-proxy port 10256 and /healthz by default. The health check port and path can be configured byclusterServiceSharedLoadBalancerHealthProbePort
andclusterServiceSharedLoadBalancerHealthProbePort
.What type of PR is this?
/kind feature
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Support shared load balancer health probe mode. By setting
clusterServiceLoadBalancerHealthProbeMode
toshared
, all cluster services will share one health probe targeting the kube-proxy port 10256 and /healthz by default. The health check port and path can be configured byclusterServiceSharedLoadBalancerHealthProbePort
andclusterServiceSharedLoadBalancerHealthProbePort
.Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: