本文的目的是为了最后安装kubesphere
https://kubesphere.com.cn/docs/v3.3/quick-start/minimal-kubesphere-on-k8s/
分类 "K8S" 下的文章
设置主机名
hostnamectl set-hostname k8s-master
echo "192.168.119.151 k8s-master" >> /etc/hosts #master
#生成公钥
ssh-keygen
ssh-copy-id -i .ssh/id_rsa.pub root@ip