Closed
Description
What would you like to be added:
Readiness probe returns OK but it does not consider the actual state/readiness:
https://github.com/kubernetes-sigs/apiserver-network-proxy/blob/master/cmd/agent/app/server.go#L107
This could shall be improved by reporting based on the fact that the agent is connected or not to the server.
- "Ready" - agent is connected successfully to the server
- "Not Ready" - agent fails to connect to the server
Why is this needed:
We see cases when agents are not able to connect to the konnectivity server due network issues (e.g. firewall, ACL, etc), but agents are still reporting "ready" status and it gives the false idea that everything is fine with the agent. With this enhancement, we could see easier problems like that.
Metadata
Metadata
Assignees
Labels
No labels