-
If this is the first time you are changing the default PID limit, create the
KubeletConfig
object and set the--pod-pids-limit
value by running the following command:$ rosa create kubeletconfig -c <cluster_name> --name <kubeletconfig_name> --pod-pids-limit=<value>
The --name
parameter is optional on ROSA Classic clusters, because only oneKubeletConfig
object is supported per ROSA Classic cluster.For example, the following command sets a maximum of 16,384 PIDs per pod for cluster
my-cluster
:$ rosa create kubeletconfig -c my-cluster --name set-high-pids --pod-pids-limit=16384
-
If you previously created a
KubeletConfig
object, edit the existingKubeletConfig
object and set the--pod-pids-limit
value by running the following command:$ rosa edit kubeletconfig -c <cluster_name> --name <kubeletconfig_name> --pod-pids-limit=<value>