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?
Asked
Active
Viewed 1,465 times
0
-
Does this answer your question? [Limit the number of pods per node](https://stackoverflow.com/questions/60378117/limit-the-number-of-pods-per-node) – Kartoch Mar 28 '20 at 12:36
1 Answers
2
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
- 52,400
- 4
- 52
- 75
-
Can I change the max-pod value using command line flag after the creation of cluster – pikubhai Mar 28 '20 at 06:23
-
Sure, you just need to change the CLI options passed to Kubelet on startup. – coderanger Mar 28 '20 at 06:37