使用 Kubespray 安装 Kubernetes
作者:互联网
https://kubespray.io/#/
1. 静态解析
cat >> /etc/hosts << EOF
# deployment
192.168.4.13 vm-4-13
# k8s cluster
192.168.4.18 vm-4-18
192.168.4.19 vm-4-19
192.168.4.20 vm-4-20
192.168.4.21 vm-4-21
192.168.4.22 vm-4-22
192.168.4.23 vm-4-23
EOF
标签:Kubernetes,kubespray,etc,cat,hosts,io,Kubespray,安装 来源: https://www.cnblogs.com/liujitao79/p/16497050.html