Original address: http://www.itnpc.com/news/web/1484025256154172.html
First, Environment construction
The components that master installs are:
Docker
ETCD can be understood as a k8s database that stores all nodes, pods, network information
Kube-proxy basic components that provide service services
Kubelet manages the components of the k8s node because this master is also nodes, so install
Kube-apiserver k8s provides API interface, is the core of the entire k8s
Kube-controller-manager managing components that allocate resources
Kube-scheduler Components for scheduling resources
Flanneld network components for the entire k8s
The components installed by nodes are:
Docker
Kube-proxy
Kubelet
Flanneld
Because it is a stand-alone installation, you only need to install the master node.
Second, installation steps
1. Turn off the firewall
Systemctl Stop Firewalld.service
Systemctl Disable Firewalld.service
2. Update the Yum source
Cat <<EOF>/etc/yum.repos.d/virt7-docker-common-release.repo[virt7-docker-common-release] Name=virt7-docker-common-releasebaseurl=http://cbs.centos.org/repos/ virt7-docker-common-release/x86_64/os/gpgcheck=0EOF
3. Perform yum-y update
CENOTS7 stand-alone installation Kubernetes