k8s simple installation (unfinished)

table of Contents

surroundings:

Premise:
1. hostname-based communication: / etc / hosts;
2. time synchronization;
3. temporarily closed firewalld and iptables.service
4.k8s try to install the latest version, version updates too fast, maybe there is an older version bug
OS: Centos 7.3.1611, Extras repository;

Installation configuration steps:
. 1, ETCD Cluster, only the master node;
2, Flanner, all nodes in the cluster;
3, arranged k8s the master: only the master node;
Kubernetes master-
initiated services: kube-apiserver, kube-scheduler , kube- Manage-Controller
. 4, the arrangement of the node k8s nodes;
Kubernetes-node
first start docker service;
start k8s services: kube-proxy, kubelet

Kubeadm
1, Master, Node: AnSo Kubelet, Kudeadm, Docker
2, Master: Kubeadm Init
3, Nodes: Kudeadm Join

1. Prepare yum source

2.yum installation

Docker-ce kubelet install yum kubeadm kubectl
kubectl: command-line client, the package name kubernetes-client-linux-amd64.tar.gz

Guess you like

Origin www.cnblogs.com/wangchengshi/p/11357168.html