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>
Showing
Please
register
or
sign in
to comment