-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
[3.5] Backport livez/readyz #17039
[3.5] Backport livez/readyz #17039
Conversation
Signed-off-by: Chao Chen <[email protected]>
Add two separate probes, one for liveness and one for readiness. The liveness probe would check that the local individual node is up and running, or else restart the node, while the readiness probe would check that the cluster is ready to serve traffic. This would make etcd health-check fully Kubernetes API complient. Signed-off-by: Siyuan Zhang <[email protected]>
Signed-off-by: Siyuan Zhang <[email protected]>
Should we backport e2e tests too? |
In order to backport the e2e test, it would require backporting a lot of the e2e test framework, because existing Failpoint is in a this agent handler which is very hard to reuse. Is that worth the effort? @serathius |
Yes, it requires some effort, but we should not add features without proper e2e test coverage. Please let me know if you need help with backport. |
3404053
to
c74cf77
Compare
Note, I didn't mean that we should backport the e2e framework changes, just backport the e2e test. |
1a7d50b
to
118b5ae
Compare
Looking at the e2e framework backports I think it would be easier to move it to separate PR so we ensure it's properly reviewed. |
118b5ae
to
bd74dca
Compare
Will backport e2e tests as followup PRs. |
cc @ahrtr |
Also which PR are you backporting? Please provide a link to the original PR. |
Signed-off-by: Siyuan Zhang <[email protected]>
bd74dca
to
ebb7e79
Compare
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
Thanks
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.
Part of #16007
Follow up of #17000
Original PRs:
#16697
#16651
#16797
#16984