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
[release-1.25]Add support for specifying probe protocol / probe port via annotation per service port #2823
[release-1.25]Add support for specifying probe protocol / probe port via annotation per service port #2823
Conversation
✅ Deploy Preview for kubernetes-sigs-cloud-provide-azure ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@MartinForReal: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
c6345be
to
bb6d21e
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MartinForReal 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 |
/hold |
Add support for overriding health check probe protocol and port per probe port. Document the port and protocol probe override annotations. Signed-off-by: Vito Sabella <vsabella@msn.com> De-duplicate load balancer health probes by collecting them in an index keyed by their functional characteristics (protocol, port, interval, count, and path). Two probes with the same functional characteristics will generate the same key, and only one of the two will ultimately be added. Signed-off-by: Travis Raines <571832+rainest@users.noreply.github.com> Co-authored-by: Travis Raines <571832+rainest@users.noreply.github.com> Signed-off-by: MartinForReal <fanshangxiang@gmail.com>
…ve lbrule for healthcheck port Signed-off-by: MartinForReal <fanshangxiang@gmail.com>
bb6d21e
to
74de768
Compare
/unhold |
/lgtm |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This adds service.beta.kubernetes.io/port_health-probe_protocol and service.beta.kubernetes.io/port_health-probe_port annotations for LoadBalancer Services. These allow overriding the health check port or protocol for a given port. This is useful for ports that cannot respond affirmatively to the health checks and expose health information elsewhere.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: