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

Add liveness checks to clustermesh deployment #805

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nathanperkins
Copy link

Use the existing HTTP health check endpoints to ensure liveness of etcd and apiserver containers.

Tested locally on a kind cluster:

  1. Create kind cluster via cilium instructions
  2. Enable cilium with ./cilium --cluster-name=kind --cluster-id=0.
  3. Enable clustermesh with ./cilium clustermesh enable --service-type ClusterIP
  4. Verify clustermesh is available via ./cilium status output.
nathanperkins@nathanperkins1:~/git/cilium-cli (liveness)$ ./cilium status
...
Deployment        clustermesh-apiserver    Desired: 1, Ready: 1/1, Available: 1/1
...

@maintainer-s-little-helper
Copy link

Commit 171c522 does not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@nathanperkins
Copy link
Author

Actually the apiserver started to crashloop from failed queries to etcd. It is probably just the kind setup I'm using for testing, though. I will try again and if that doesn't work, I will try a different set up.

@nathanperkins
Copy link
Author

I see that the etcd liveness check is failing because it should be HTTPS, but when changed to HTTPS I get this error:

Warning Unhealthy 58s (x3 over 78s) kubelet Liveness probe failed: Get "https://10.244.2.42:2379/health": remote error: tls: bad certificate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant