摘要: 安装helm 创建helm文件夹,手动下载helm安装包,放入helm文件夹 tar -zxf helm-v3.2.1-linux-amd64.tar.gz && mv linux-amd64/helm . && rm -rf *linux-amd64* mv helm /usr/local/bin 阅读全文
posted @ 2021-08-25 16:38 请务必优秀 阅读(865) 评论(2) 推荐(0) 编辑
摘要: [root@k8s-master01 ~]# kubectl get cs Warning: v1 ComponentStatus is deprecated in v1.19+ NAME STATUS MESSAGE ERROR controller-manager Unhealthy Get " 阅读全文
posted @ 2021-08-25 14:53 请务必优秀 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 查询etcd相关pod kubectl get pod -n kube-system 进入 kubectl exec -ti etcd-k8s-master01 -n kube-system sh export ETCDCTL_API=3 etcdctl --cacert="/etc/kuberne 阅读全文
posted @ 2021-08-25 10:25 请务必优秀 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 在master01上 生成新token [root@k8s-master01 ~]# kubeadm token create --print-join-command W0825 09:25:49.300571 23457 configset.go:348] WARNING: kubeadm ca 阅读全文
posted @ 2021-08-25 10:22 请务必优秀 阅读(694) 评论(0) 推荐(0) 编辑
摘要: 准备两台有网的Linux虚拟机,将这两台虚拟机添加到前边已经拿KubeKey搭建好的k8s集群 环境准备 yum源配置 curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo yu 阅读全文
posted @ 2021-08-25 00:06 请务必优秀 阅读(797) 评论(0) 推荐(0) 编辑