AthenZ / k8s-athenz-sia

Apache License 2.0
1 stars 7 forks source link

Health Check Improvement #71

Open mlajkim opened 8 months ago

mlajkim commented 8 months ago

Background

The current health check port does not provide the following information, and using it as a source of k8s readiness/liveness is not enough

TODOs

- [ ] Fix the health port so that it returns non 200 http response if, role cert, role token, access toke, instance cert is expired.
- [ ] Make sure that the healthcheck does not contain sensitive data, as it will be used by the k8s readiness/liveness, and therefore requires `0.0.0.0:6080/healthz` to be open within the node.
- [ ] More TODOs