sandbox: Check cri-o and kubelet cgroup managers are same
We ensure that cri-o and kubelet are started with compatible cgroup managers. Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
612dcc0267
commit
cb1cad28db
3 changed files with 9 additions and 8 deletions
|
@ -273,11 +273,6 @@ func (s *Sandbox) CgroupParent() string {
|
|||
return s.cgroupParent
|
||||
}
|
||||
|
||||
// UpdateCgroupParent updates the cgroup parent for a sandbox
|
||||
func (s *Sandbox) UpdateCgroupParent(parent string) {
|
||||
s.cgroupParent = parent
|
||||
}
|
||||
|
||||
// Privileged returns whether or not the containers in the sandbox are
|
||||
// privileged containers
|
||||
func (s *Sandbox) Privileged() bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue