随笔分类 -  k8s世界500强

摘要:在master01上查看是否又1.23.X [root@k8s-master01 ~/k8s-ha-install/calico]#git branch -a * manual-installation-v1.23.x remotes/origin/manual-installation-v1.22 阅读全文
posted @ 2022-02-27 17:26 linuxTang 阅读(270) 评论(0) 推荐(0) 编辑
摘要:1查看集群中所有namespace里的容器。发现都是running状态 [root@k8s-master01 ~]#kubectl get pod --all-namespaces 2查看监控数据 [root@k8s-master01 ~]#kubectl top pod -n kube-syste 阅读全文
posted @ 2022-02-27 17:24 linuxTang 阅读(293) 评论(0) 推荐(0) 编辑
摘要:1安装 [root@k8s-master01 ~]#cd /root/k8s-ha-install/dashboard/ [root@k8s-master01 ~/k8s-ha-install/dashboard]#kubectl create -f . 2谷歌浏览器访问前的设置 在谷歌浏览器启动文 阅读全文
posted @ 2022-02-27 16:51 linuxTang 阅读(198) 评论(0) 推荐(0) 编辑
摘要:在新版的k8s中,系统资源的采集均用Metrics-server,通过Metrics可采集节点及Pod内存,磁盘,cpu和网络使用率等信息 1将master01节点的front-proxy-ca.crt复制到所有的Node节点里: [root@k8s-master01 ~]#scp /etc/kub 阅读全文
posted @ 2022-02-27 15:38 linuxTang 阅读(89) 评论(0) 推荐(0) 编辑
摘要:新创建的集群,token过期时间是24个小时,查看过期时间 #1查看自己设置的token名: [root@k8s-master01 ~]#cat new.yaml token: 7t2weq.bjbawausm0jaxury#2过滤出token文件 [root@k8s-master01 ~]#kub 阅读全文
posted @ 2022-02-27 13:09 linuxTang 阅读(887) 评论(0) 推荐(0) 编辑
摘要:Master01初始化 1集群初始化之前一行要先重启一下containerd,由于没用重启这个报错整整折腾了我一天,报错内容如下: [root@k8s-master01 ~]#kubeadm config images pull --config /root/new.yaml fail to pul 阅读全文
posted @ 2022-02-27 12:16 linuxTang 阅读(417) 评论(0) 推荐(0) 编辑
摘要:所有Master节点通过yum安装HAProxy和KeepAlived: yum install keepalived haproxy -y 所有Master节点配置HAProxy: [root@k8s-master01 etc]# mkdir /etc/haproxy [root@k8s-mast 阅读全文
posted @ 2022-02-26 17:50 linuxTang 阅读(153) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示