# Is there a way to increase the max pod limits from the default 110?

**URL:** https://forums.k8slens.dev/t/is-there-a-way-to-increase-the-max-pod-limits-from-the-default-110/1978
**Category:** All about k0s
**Tags:** kubernetes
**Created:** [October 30, 2023, 8:08pm UTC](https://forums.k8slens.dev/t/is-there-a-way-to-increase-the-max-pod-limits-from-the-default-110/1978 "2023-10-30T20:08:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![washcycle](https://forums.k8slens.dev/letter_avatar_proxy/v4/letter/w/f14d63/32.png) [@washcycle](https://forums.k8slens.dev/u/washcycle)
#### Post date: [October 30, 2023, 8:08pm UTC](https://forums.k8slens.dev/t/is-there-a-way-to-increase-the-max-pod-limits-from-the-default-110/1978/1 "2023-10-30T20:08:56Z")

</div>

I didn’t see any options in the config to increase the limits.

---

<div class="post-metadata">

### Author: ![twieczorek](https://forums.k8slens.dev/user_avatar/forums.k8slens.dev/twieczorek/32/138_2.png) [@twieczorek](https://forums.k8slens.dev/u/twieczorek)
#### Post date: [October 31, 2023, 7:40am UTC](https://forums.k8slens.dev/t/is-there-a-way-to-increase-the-max-pod-limits-from-the-default-110/1978/2 "2023-10-31T07:40:28Z")

</div>

You can set Kubelet’s `maxPods` config flag in the k0s configuration via [worker  
profiles](https://docs.k0sproject.io/v1.28.2+k0s.0/worker-node-config/#worker-profiles). They accept a partial [KubeletConfiguration](https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/#kubelet-config-k8s-io-v1beta1-KubeletConfiguration). Below is an example:

```yaml
apiVersion: k0s.k0sproject.io/v1beta1
kind: ClusterConfig
metadata:
  name: k0s
spec:
  workerProfiles:
    # This is the default that's applied to k0s workers
    # that don't specify any worker profile.
    - name: default
      values:
        maxPods: 125
    # This is the "more-pods" profile that can be selected when
    # starting k0s workers with the --profile more-pods flag.
    - name: more-pods
      values:
        maxPods: 200

```

Note: While it’s possible to increase the number of pods per node, you should  
keep some things in mind. Just because you might be able to schedulde more pods  
on a node in terms of CPU and memory, there might be other bottlenecks, too:

- Check the maximum number of pod IPs allocatable per node
- Keep an eye on the node’s resource usage. Things like CPU, memory, disk, and  
network can become overloaded. The Kubelet, CRI (containerd), and CNI  
(Kube-Router or Calico) will also have a higher workload.
