Can we increase number of pods per node in Kubernetes?

3/27/2020

I've deployed Kubernetes cluster on my local machine.The default allocatable pods in Kubernetes are 110. I want to increase the number of pods per node in my cluster.Can anyone let me know if it's possible ? If yes, how can we do it?

-- pikubhai
bare-metal-server
kubectl
kubelet
kubernetes

1 Answer

3/27/2020

Yes, you can control this with the max-pods option to the Kubelet, either via a command line flag or Kubelet config file option. But beware that we don't test as much outside the normal scaling targets so you might be able to break things.

-- coderanger
Source: StackOverflow