k3s/contrib/util
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
..
check-config.sh Handle cgroup v1/2/hybrid in check-config.sh more explicitly/accurately 2021-09-14 15:53:12 -07:00
DIAGNOSTICS.md Add diagnostics collection scripts 2020-12-07 11:08:47 -07:00
diagnostics.sh Add diagnostics collection scripts 2020-12-07 11:08:47 -07:00
fetch-diags.sh Add diagnostics collection scripts 2020-12-07 11:08:47 -07:00