Cluster dashboard question

Hello community!

There are three circular gauges on cluster dashboard: CPU, Memory, Pods. The latter shows “Pods 148 of 330 used” in my case.

I wonder how 330 is calculated and what will happen if I’ll try to fire up 331th pod?

TIA

The default number of pods allowed per node in Kubernetes is 110. No matter how big or small the nodes are, for mostly arbitrary historical reasons.

If you try to launch 331st it will fail.

If RKE created the cluster (not imported or a hosted k8s provider) you can increase it to 250 easily by passing an extra argument to the kubelet:

services:
    [...]
    kubelet:
      extra_args:
        max-pods: '250'

Higher requires adjusting additional options for things like how the cluster IP address space is distributed to each node.

1 Like

How do I pass this on to the kubelet? Thank you