上一页 1 ··· 7 8 9 10 11 12 13 下一页
  2022年10月26日
摘要: 1.把etcd 里面由原来ip产生的ca 文件 改成新ip重新生成新ip ca 文件,启动etcd ,验证etcd 成功后再往下走 2.查看apiserver 证书,证书没有所需要的ip地址 openssl x509 -noout -text -in /etc/kubernetes/pki/apis 阅读全文
posted @ 2022-10-26 13:22 MhaiM 阅读(755) 评论(0) 推荐(0)
  2022年10月23日
摘要: 1. 打开 cat /etc/docker/daemon.json 添加 "bip":"192.168.0.1/16", 配置如下 { "bip":"192.168.0.1/16", "data-root": "/data/bkce/public/paas_agent/docker", "exec- 阅读全文
posted @ 2022-10-23 13:58 MhaiM 阅读(615) 评论(0) 推荐(0)
  2022年10月22日
摘要: 操作命令如下: rm /var/lib/cni/ -rf && rm -f /etc/cni/net.d/*systemctl restart docker containerd kubelet 阅读全文
posted @ 2022-10-22 09:39 MhaiM 阅读(217) 评论(0) 推荐(0)
  2022年10月16日
摘要: 现象: Failed to watch *v1.Endpoints: failed to list *v1.Endpoints: endpoints is forbidden: User \"system:serviceaccount:monitoring:prometheus-k8s\" cann 阅读全文
posted @ 2022-10-16 16:10 MhaiM 阅读(723) 评论(0) 推荐(0)
  2022年10月13日
摘要: 1.zabbix 创建主机群组 2.创建监控模板,选择刚刚创建的群组 3.选择刚刚创建的模板,依次自定义应用集,监控项,触发器,图形,自动发现等 4.选择主机添加刚刚创建的监控模板就能自定义监控服务了 5.在zabbix_agent客户端,添加监控键值 6.zabbix_agent,端,zabbix 阅读全文
posted @ 2022-10-13 09:00 MhaiM 阅读(92) 评论(0) 推荐(0)
  2022年10月8日
摘要: 1.zabbix_agent 端配置 [root@k8s1 ~]# egrep -v "^$|^#" /usr/local/zabbix/etc/zabbix_agentd.confLogFile=/tmp/zabbix_agentd.logServer=x.x.x.x # zabbix serve 阅读全文
posted @ 2022-10-08 10:00 MhaiM 阅读(62) 评论(0) 推荐(0)
  2022年9月28日
摘要: 现象: 解决办法: 修改zabbix 默认配置文件,修改完重启客户端 zabbix_agent,再次测试 AllowRoot=0 改为 AllowRoot=1 阅读全文
posted @ 2022-09-28 09:02 MhaiM 阅读(76) 评论(0) 推荐(0)
  2022年8月17日
摘要: 1.原因 cgroup 的 kmem account 特性在 3.x 内核上有内存泄露问题,如果开启了 kmem account 特性 会导致可分配内存越来越少,直到无法创建新 pod 或节点异常 几点解释: kmem account 是cgroup 的一个扩展,全称CONFIG_MEMCG_KME 阅读全文
posted @ 2022-08-17 16:25 MhaiM 阅读(1119) 评论(0) 推荐(0)
  2022年6月15日
摘要: 现象:level=error ts=2022-06-15T02:35:42.621Z caller=klog.go:96 component=k8s_client_runtime func=ErrorDepth msg="pkg/mod/k8s.io/client-go@v0.20.5/tools/ 阅读全文
posted @ 2022-06-15 10:44 MhaiM 阅读(418) 评论(0) 推荐(0)
  2022年6月14日
摘要: 现象:MountVolume.SetUp failed for volume "secret-etcd-ssl" : secret "etcd-ssl" not found 处理方法:kubectl -n monitoring create secret generic etcd-ssl --fro 阅读全文
posted @ 2022-06-14 17:44 MhaiM 阅读(123) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页