|
@@ -757,6 +757,19 @@ WantedBy=multi-user.target
|
|
|
systemctl daemon-reload && systemctl restart docker
|
|
|
```
|
|
|
|
|
|
+## 7.4、k8s cgroup 内存泄漏
|
|
|
+
|
|
|
+**centos7.6及其以下版本,造成内存泄漏**
|
|
|
+
|
|
|
+```shell
|
|
|
+vim /boot/grub2/grub.cfg
|
|
|
+# 在 ro crashkernel=auto 后面添加 cgroup.memory=nokmem
|
|
|
+# 重启电脑
|
|
|
+
|
|
|
+```
|
|
|
+
|
|
|
+![img](assets/20210509204813641.png)
|
|
|
+
|
|
|
|
|
|
|
|
|
# 附录----安装软件的版本
|