Selaa lähdekoodia

Merge branch 'lab' of https://gitee.com/sun1040084806/notes into lab

seamew 1 vuosi sitten
vanhempi
commit
fe61b9ae56

+ 1 - 1
后端/Mysql/7.centos7离线安装mysql5.7.md

@@ -42,7 +42,7 @@ mysql -u root -p
 set global validate_password_length=4;
 set global validate_password_policy=0;
 # 修改默认密码,注意替换后面的密码
-ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'r';
+ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '1';
 flush privileges;
 # 5.开放远程连接
 use mysql;

BIN
部署文档/云平台/assets/20210509204813641.png


+ 13 - 0
部署文档/云平台/安装云平台环境.md

@@ -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)
+
 
 
 # 附录----安装软件的版本