Open jessehu opened 1 year ago
Hi,
I would also vote for either such an option to probe the proxy (but that implies an extra binary in the image) or to maybe panic on such an error.
In our case we also receive:
webhook.go:154] Failed to make webhook authenticator request: Post ".....:443/apis/authentication.k8s.io/v1/tokenreviews": context deadline exceeded
Afterwards only a manual restart helps to fix that...
I have got the same issue using kube-rbac-proxy container with node-exporter in a single pod. To be honest, I am unsure why it occurs but whenever it does, it uses almost all of the CPU & Mem resources limited to the kube-rbac-proxy container and goes back to normal once the container is restarted. Is there any new news on this particular issue?
When using kube-rbac-proxy v0.14.1, sometimes we found kube-rbac-proxy container stuck in
TLS handshake error
and can not recover automatically until it's restarted manually.When used with prometheus node-exporter, adding a livenessProbe can automatically restart kube-rbac-proxy container, e.g.: