分类 "经验累积" 下的文章
本文的目的是为了最后安装kubesphere
https://kubesphere.com.cn/docs/v3.3/quick-start/minimal-kubesphere-on-k8s/
localpath(本地存储)
设置主机名
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
查指定容器IP
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id