Skip to content
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.4] Backport livez/readyz #17128

Merged
merged 4 commits into from
Dec 19, 2023

Commits on Dec 15, 2023

  1. http health check bug fixes

    Signed-off-by: Chao Chen <chaochn@amazon.com>
    chaochn47 authored and siyuanfoundation committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    d4861d6 View commit details
    Browse the repository at this point in the history
  2. etcdserver: add livez and ready http endpoints for etcd.

    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 <sizhang@google.com>
    siyuanfoundation committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    f4c229a View commit details
    Browse the repository at this point in the history
  3. etcdserver: add metric counters for livez/readyz health checks.

    Signed-off-by: Siyuan Zhang <sizhang@google.com>
    siyuanfoundation committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    c58ef8d View commit details
    Browse the repository at this point in the history
  4. etcdserver: add linearizable_read check to readyz.

    Signed-off-by: Siyuan Zhang <sizhang@google.com>
    siyuanfoundation committed Dec 15, 2023
    Configuration menu
    Copy the full SHA
    b6ab239 View commit details
    Browse the repository at this point in the history