系统环境 #cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) #Linux内核一定要大约等于3.10,也就是centos版本要大于7 #配置主机hostname及dns解析 vim /etc/hostname vim /etc/hosts 安装Docker(Master/Node都需要安装) 关闭swap,关闭selinux,关闭firewall(centos7特有) swapoff -a #重启后失效 vi /etc/fs
参考链接: K8S集群多master:Etcd v3备份与恢复 K8S集群单master:Kubernetes Etcd 数据备份与恢复 ETCD系列之一:简介:https://developer.aliyun.com/article/11035 集群节点详情 # kubectl get nodes -o wide NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUN