Debian系统默认是关闭cgroup memory子系统的。

1、修改grub启动参数

# vim /etc/default/grub
GRUB_CMDLINE_LINUX="cgroup_enable=memory"

2、更新grub设置

# update-grub

3、查看设置是否更新

# vim /boot/grub/grub.cfg
linux   /boot/vmlinuz-4.9.0-4-amd64 root=UUID=e7b4e6c2-6b32-4fb2-987a-cc62c0c8ae51 ro cgroup_enable=memory quiet

4、重启系统才能生效

# reboot

参考:
https://github.com/kubernetes/kubernetes/issues/9837

相关文章:

  • 2021-07-21
  • 2021-10-13
  • 2021-11-26
  • 2022-12-23
  • 2021-12-14
  • 2022-01-02
  • 2022-01-08
猜你喜欢
  • 2021-04-19
  • 2021-10-15
  • 2022-12-23
  • 2021-06-01
  • 2022-12-23
  • 2022-01-21
  • 2021-06-11
相关资源
相似解决方案