Process ID (PIDs) Limits are not set

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version:1.18
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: on premise
Host OS: Ubuntu
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

we have to mitigate the below security defects in our K8s cluster env

Process ID (PIDs) Limits are not set

PIDs are a fundamental resource on nodes. Kubelet can be configured to limit the number of PIDs a given Pod / Node can consume.

Does anyone has any idea about how to fix this on premise k8s cluster?

Regards
Rohit Thakur

Theres a page on it in the k8s docs: