Skip to content

Commit

Permalink
Merge pull request #18 from SergeyKanzhelev/pidLimitsGA
Browse files Browse the repository at this point in the history
PidLimits promoted to GA
  • Loading branch information
k8s-ci-robot authored Sep 9, 2020
2 parents b790735 + 6069d2d commit 4c2c4b9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions validators/types_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,14 @@ var DefaultSysSpec = SysSpec{
},
Forbidden: []KernelConfig{},
},
Cgroups: []string{"cpu", "cpuacct", "cpuset", "devices", "freezer", "memory"},
Cgroups: []string{"cpu", "cpuacct", "cpuset", "devices", "freezer", "memory", "pids"},
CgroupsOptional: []string{
// The hugetlb cgroup is optional since some kernels are compiled without support for huge pages
// and therefore lacks corresponding hugetlb cgroup
"hugetlb",
// The pids cgroup is optional since it is only used when at least one of the feature flags "SupportPodPidsLimit" and
// "SupportNodePidsLimit" is enabled
"pids",
},
CgroupsV2: []string{"cpu", "cpuset", "devices", "freezer", "memory"},
CgroupsV2Optional: []string{"hugetlb", "pids"},
CgroupsV2: []string{"cpu", "cpuset", "devices", "freezer", "memory", "pids"},
CgroupsV2Optional: []string{"hugetlb"},
RuntimeSpec: RuntimeSpec{
DockerSpec: &DockerSpec{
Version: []string{`1\.1[1-3]\..*`, `17\.0[3,6,9]\..*`, `18\.0[6,9]\..*`, `19\.03\..*`},
Expand Down

0 comments on commit 4c2c4b9

Please sign in to comment.