第三节
Kubernetes Cluster:
环境:
master,etcd:172.18.0.67
node1:172.18.0.68
前提:
1.基于主机名通信:/etc/hosts;
2.时间同步;
3.关闭firewalld和iptables.service;
OS:CentOS 7.3.1611,Extras仓库中;
安装配置步骤:
1.etcd cluster,仅master节点;
2.flannel,集群的所有节点;
3.配置k8s的master;仅master节点;
kubernetes-master
启动的服务:
kube--apiserver,kube--scheduler,kube-=controller--manager
4.配置K8S的各Node节点;
kubernetes-node
先设定启动docker服务;
启动的k8s的服务:
kube--proxy,kubelet
kubeadm
1.master,nodes:安装kubelet,kubeadm,docker
2.master:kubeadm init
3.nodes:kubeadm join
https://github.com/kubernetes/kubeadm/blob/master/docs/design/design_v1.10.md
看到三十分钟结束