Commit 90960ebf authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

SupportPodPidsLimit is locked to true of 1.20, making pids cgroup support mandatory

parent 741ba95b
...@@ -139,10 +139,7 @@ func kubeletArgs(cfg *config.Agent) map[string]string { ...@@ -139,10 +139,7 @@ func kubeletArgs(cfg *config.Agent) map[string]string {
argsMap["cpu-cfs-quota"] = "false" argsMap["cpu-cfs-quota"] = "false"
} }
if !hasPIDs { if !hasPIDs {
logrus.Warn("Disabling pod PIDs limit feature due to missing cgroup pids support") logrus.Fatal("PIDS cgroup support not found")
argsMap["cgroups-per-qos"] = "false"
argsMap["enforce-node-allocatable"] = ""
argsMap["feature-gates"] = util.AddFeatureGate(argsMap["feature-gates"], "SupportPodPidsLimit=false")
} }
if kubeletRoot != "" { if kubeletRoot != "" {
argsMap["kubelet-cgroups"] = kubeletRoot argsMap["kubelet-cgroups"] = kubeletRoot
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment