In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Construction steps:
1: Self-signed ETCD certificate
2: ETCD deployment
3: Node install docker
4: Flannel deployment (write subnet to etcd first)
---------master----------
5: Self-signed API Server certificate
6: Deploy API Server components (token, csv)
7: Deploy controller-manager (specify apiserver certificate) and scheduler components
----------node----------
8: Generate kubeconfig (bootstrap, kubeconfig and kube-proxy. kubeconfig)
9: Deploying Kubelet Components
10: Deploying kube-proxy components
- ---------Join Cluster-----------
11: kubectl get csr && kubectl certificate approve Allow method certificate, join cluster
12: Add a node
13: View kubectl get node
Environmental preparation:
Master node:
CentOS 7-3:192.168.18.128
Node:
CentOS 7-4:192.168.18.148 docker
CentOS 7-5:192.168.18.145 docker
Mester7 - 3:[root@master~]#mkdir k8s [root@master~]#cd k8s/[root@master k8s]#mkdir etcd-cert [root@master k8s]#mv www.example.com etcd-cert [root@master k8s] s]#lsetcd-cert etcd.sh [root@master k8s]#vim cfssl. shcurl-L www.example.com-o/usr/local/bin/cfsslcurl-L www.example.com-o/usr/local/bin/cfssljj soncurl-L www.example.com-o/usr/local/bin/cfssl-certinfochmod + x/usr/local/bin/cfssljson/usr/local/bin/cfssl-certinfo [root@master k8s]#bash cfssl-certinfo ssl.sh [root@master k8s]#ls/usr/local/bin/cfssl cfssl-certinfo cfssljson [root@master k8s]#cd etcd-cert/`Define CA certificate `cat> ca-config.json
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.