当前位置:网站首页>Kubernetes cluster capacity expansion to add node nodes
Kubernetes cluster capacity expansion to add node nodes
2022-07-07 09:21:00 【Give you a little moon】
Kubernetes- Cluster expansion and increase node node
Lou Lou has just contacted Kubernets A series of knowledge , Refer to other people's blogs , Sum up , Hee hee
Master Node operation
(1) First in master Enter the corresponding path
(2) #Kubeadm token create
Use this command to create a valid token, Every token Only 24 Hours validity
(3)#openssl x509 -pubkey -in
/etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | openssl
dgst -sha256 -hex | sed ‘s/^.* //’
see Kubernetes The certification SHA256 What is the encrypted string
Node Node operation
(1) kubeadm join --token [TOKEN]
10.3.14.193:6443 --discovery-token-ca-cert-hash sha256:[SHA256] Add the new node to the cluster , Use this command to modify
(2) #kubeadm join 192.168.1.78:6443
–token 024a7a.078bb31c2b9b9a10 --discovery-token-ca-cert-hash
sha256:8c8386d626b67698d27b28064bea067a70e774d1f97fd1231ae2dcfa922ab391
–ignore-preflight-errors=swap
Indicates that the addition was successful
Last in master In nodes
#kubectl get nodes
边栏推荐
- Postman data driven
- STM32 serial port register library function configuration method
- Pytest+request+allure+excel interface automatic construction from 0 to 1 [familiar with framework structure]
- (3/8) method parameters of improper use of enumeration (2)
- Mysql数据库-锁-学习笔记
- stm32和电机开发(从单机版到网络化)
- Postman interface debugging method
- 寄存器地址名映射
- MySql数据库-索引-学习笔记
- Mysql database index study notes
猜你喜欢
E-commerce campaign Guide
Reading notes of pyramid principle
STM32 and motor development (from stand-alone version to Networking)
Pytest installation (command line installation)
How to use Arthas to view class variable values
Full link voltage test of the e-commerce campaign Guide
端口复用和重映像
Postman setting environment variables
Interview question: general layout and wiring principles of high-speed PCB
Error: selenium common. exceptions. WebDriverException: Messag‘geckodriver‘ execute
随机推荐
On December 8th, 2020, the memory of marketing MRC application suddenly increased, resulting in system oom
[SVN] what is SVN? How do you use it?
Unittest simple project
C语言指针(上篇)
The use of recycling ideas
信息安全实验三 :PGP邮件加密软件的使用
Postman interface debugging method
Regular matching starts with XXX and ends with XXX
LeetCode每日一题(2316. Count Unreachable Pairs of Nodes in an Undirected Graph)
Run can start normally, and debug doesn't start or report an error, which seems to be stuck
Expérience de port série - simple réception et réception de données
Jenkins modifies the system time
What is the value of getting a PMP certificate?
信息安全实验四:Ip包监视程序实现
How to count the number of project code lines
嵌套(多级)childrn路由,query参数,命名路由,replace属性,路由的props配置,路由的params参数
Regularly modify the system time of the computer
JVM 垃圾回收 详细学习笔记(二)
(3/8)枚举的不当用法 之 方法参数(二)
Jmeters use