k3s/contrib
Rowan Thorpe 137e80cd86 Handle cgroup v1/2/hybrid in check-config.sh more explicitly/accurately
Problem:
 In check-config.sh assumptions are made about cgroups v1/v2/hybrid,
 causes false-negative on pure V2 system.

Solution:
 In check-config.sh implement the same validation as found in
 ./pkg/agent/run.go -> validate(), validateCgroupsV1(), validateCgroupsV2()
 [ which use containerd/cgroups:utils.go -> Mode() ]

Signed-off-by: Rowan Thorpe <rowan@rowanthorpe.com>
2021-09-14 15:53:12 -07:00
..
ansible contrib/ansible: Remove duplication and redirect to new repository 2020-05-12 17:47:20 +02:00
gotests_templates Moved testing utils into tests directory. Improved gotests template. (#3805) 2021-08-10 11:13:26 -07:00
util Handle cgroup v1/2/hybrid in check-config.sh more explicitly/accurately 2021-09-14 15:53:12 -07:00