master
1 |
|
部署命令
1 | ./kubernetes-deploy-master --etcd-listen-client-urls "http:\/\/0.0.0.0:2379" --etcd-advertise-client-urls "http:\/\/0.0.0.0:2379" --kube-api-address "--address=0.0.0.0" --flannel-etcd-prefix "\/kube-centos\/network" --kube-etcd-servers "--etcd-servers=http:\/\/<master-host>:2379" --flannel-etcd-endpoints "http:\/\/<master-host>:2379" --kube-master "--master=http:\/\/<master-host>:8080" --kube-etcd-servers "--etcd-servers=http:\/\/<master-host>:2379" |
minion
1 |
|
部署命令1
./kubernetes-deploy-minion --kubelet-address "--address=0.0.0.0" --kubelet-hostname "--hostname-override=centos-minion-1" --kubelet-api-server "--api-servers=http:\/\/<master-host>:8080" --flannel-etcd-endpoints "http:\/\/<master-host>:2379" --flannel-etcd-prefix "\/kube-centos\/network" --cluster-server "http:\/\/<master-host>:8080" --kube-master "--master=http:\/\/<master-host>:8080"