Deployment of kubernetes 1.16.0 in binary mode
Environment operating system: CentOS Linux release 7.7.1908 (Core) Kernel version:3.10.0-1062.1.1.el7.x86_64 working system: win10 on Ubuntu 19.04ETCD deployment IP: 192.168.30.50ETCD version: v3.4.1 Kubemuri apiser 192.168.30.51flannel version: v0.11.0cni version: v0.8.2kubernetes version: 1.16.0 working directory: / root/work remote server working directory: / apps/ business name kubernetes cluster communication cidr: 10.66.0.0/16POD cluster communication cidr:10.67.0.0/16 preparation # create working directory mkdir / root/workcd / root/work# download binary package wget https: / / storage.googleapis.com/kubernetes-release/release/v1.16.0/kubernetes-server-linux-amd64.tar.gzwget https://github.com/etcd-io/etcd/releases/download/v3.4.1/etcd-v3.4.1-linux-amd64.tar.gzwget https://github.com/containernetworking/plugins/releases/download/v0.8.2/cni-plugins-linux-amd64-v0.8.2.tgz# decompression package tar-xvf kubernetes-server -the linux-amd64.tar.gztar-xvf etcd-v3.4.1-linux-amd64.tar.gz# cni-plugins package does not have subfolders, so we create a cni folder mkdir cnicd cnimv.. / cni-plugins-linux-amd64-v0.8.2.tgz. / tar-xvf cni-plugins-linux-amd64-v0.8.2.tgz# to understand the compression of useless files to create a directory structure to facilitate distribution of rm cni-plugins-linux-amd64- V0.8.2.tgzcd.. / etcd-v3.4.1-linux-amd64rm-rf Documentation README-etcdctl.md README.md READMEv2-etcdctl.mdmkdir-p {bin Ssl,conf,data} mv etcd*. / bincd.. / kubernetes/server/bin/rm-rf * .tarrm-rf * _ tagrm-rf apiextensions-apiserver hyperkube kubeadm mounter# backup old kubectlmv / bin/kubectl / bin/kubectl1.14cp kubectl / bin/kubectlETCD deployment # return to the top-level working directory / root/workcd / root/work# create ssl configuration file directory mkdir-p cfssl/# create ca certificate jsoncat