• Davanum Srinivas's avatar
    Set pids limit at pod level · ecd6361f
    Davanum Srinivas authored
    Add a new Alpha Feature to set a maximum number of pids per Pod.
    This is to allow the use case where cluster administrators wish
    to limit the pids consumed per pod (example when running a CI system).
    
    By default, we do not set any maximum limit, If an administrator wants
    to enable this, they should enable `SupportPodPidsLimit=true` in the
    `--feature-gates=` parameter to kubelet and specify the limit using the
    `--pod-max-pids` parameter.
    
    The limit set is the total count of all processes running in all
    containers in the pod.
    ecd6361f
types.go 4.48 KB