Search code examples
kubernetestraefikmetabase

Metabase slow down kubernetes cluster


I have a Kubernetes cluster which have a few different services in it. A flask server, an nginx server for static content, traefik and a metabase service.

It all works fine, however, sometimes, when I'm going on the metabase website, the metabase website is really slow and the main website too. I go down for a few minutes.

I don't understand why the metabase service affect the access to the website. The memory/cpu of the cluster doesn't seems to be overloaded. When I fetch the static content from the flask service, I works fine. So it seems link to the network/outside access.

I'm lost. What should I check ?


Solution

  • One possible issue is that the resource limits in the Kubernetes pods are set too strict. For instance, constraining Traefik to just 100 mCPU can cause requests to slow down and eventually time out for even moderate loads.