This is a creation in Article, where the information may have evolved or changed.
This series of documentation describes kubernetes
all the steps of using a binary deployment cluster, rather than kubeadm
deploying the cluster using automated methods;
During deployment, the startup parameters of each component are listed in detail, their meanings, and the problems they may encounter.
Once the deployment is complete, you will understand the interaction principles of each component of the system, which can quickly solve the actual problem.
Therefore, this document is mainly suitable for those who have a certain Kubernetes foundation, want to learn and understand the system configuration and operation principle by the way of step-by-step deployment.
Cluster details
- Kubernetes 1.6.1
- Docker 17.04.0-ce
- Etcd 3.1.5
- Flanneld 0.7 Vxlan Network
- TLS Authenticated Communications (all components, such as ETCD, Kubernetes Master, and node)
- RBAC Authorization
- Kublet TLS BootStrapping
- Kubedns, Dashboard, Heapster (Influxdb, Grafana), EFK (Elasticsearch, Fluentd, Kibana) plugins
- Private Docker registry, using Ceph RGW back-end storage, TLS + HTTP Basic authentication
Step Introduction
- Create a TLS certificate and secret key
- Download and configure the KUBECTL command-line tool
- Deploy a highly available ETCD cluster
- Deploy the Master node
- Configuring the Node Kubeconfig file
- Deploying node Nodes
- Deploying DNS Plug-ins
- Deploying the Dashboard Plugin
- Deploying the Heapster Plugin
- Deploying the EFK Plugin
- Deploying Docker Registry
- Cleaning up the cluster
Attention
- Because of the strict security mechanisms such as TLS bidirectional authentication, RBAC authorization, and so on, it is recommended to deploy from the beginning, not from the middle, otherwise it may fail authentication, authorization, etc.
- This document will be updated as each component is updated , and any questions are welcome to mention issue!
GitHub Address: Https://github.com/opsnull/follow-me-install-kubernetes-cluster
777 Reads