The current health check port does not provide the following information, and using it as a source of k8s readiness/liveness is not enough
Instance Cert validity
Role Cert validity
Role Token validity
Access Token validity
etc..
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
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