-
I have setup Linkerd injection with the All my containers perform graceful shutdowns by waiting 120 seconds after the SIGTERM signal is sent by Kubernetes with a preStop lifecycle hook. I understand that the rule is as follows: application life cycle hook sleep < linkerd proxy life cycle hook sleep < terminationGracePeriodSeconds. Using fortio I am checking whether requests are being missed and there are no missed requests during rolling update, which is great and then the graceful shutdown problem is solved. Now, since the application shutsdowns before the Linkerd proxy does, the Linkerd proxy tries to connect to the application, and reports the following message:
This obviously makes sense, since the application has gracefully shutdown already. However, what it bugs me is that within Grafana, the success rate lowers during rolling updates despite of the actual traffic being correctly handled with 0 downtime. Is there a way to avoid this? Since in reality no requests are being missed. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Is that failure on the admin port? Is the solution simply to break out success rate by port in the grafana dashboard? |
Beta Was this translation helpful? Give feedback.
Is that failure on the admin port? Is the solution simply to break out success rate by port in the grafana dashboard?