We are finalizing security configurations for our production Kubernetes cluster and would appreciate your review of the following proposed kubelet settings:
Proposed Configuration
- PID Limits
pod_pids_limit: -1
(Unlimited) for all nodes
- Memory Locking (mlock) Limits
- Worker & Control Plane Nodes:
LimitMEMLOCK=512M
- etcd Nodes:
LimitMEMLOCK=1G
- Does this align with production security best practices?
- Are there any risks with
pod_pids_limit=-1
we should mitigate?