intermittent timeout when calling service in kubernetes

I experience intermittent timeout when calling service in kubernetes. The frequency between 0 to 2 times a day, each happens in the duration of 1 minute. First I thought it was the cpu overload on the service, but reviewing the average cpu load 1 minute, i can’t find any fluctuation, and I check the application log, each request can be replied below 2msec.

I suspect this is related to the issue in kubernetes cluster itself, but have no idea on how to check on this. Could anyone help on on to check on the performance of following in kube ?

  • name resolution, since calling the service is using service name which will be distributed to the pods (currently 2 pods)
  • networking within kube cluster
  • any other possibility ?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I also experience this kind of issue since upgrading kube to v1.24.4

could anyone give a light on how what to check in kube-system to find the path to root cause ?

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up