当前位置:网站首页>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

边栏推荐
- Simulation volume leetcode [general] 1706 Where does the ball meet
- 信息安全实验二 :使用X-SCANNER扫描工具
- Mysql database index study notes
- Record of structured interview
- How to count the number of project code lines
- C语言指针(习题篇)
- 正则匹配以XXX开头的,XXX结束的
- DRF authentication, permissions, and flow restrictions (only for views in DRF)
- JWT certification used in DRF
- Confitest of fixture py
猜你喜欢

華為HCIP-DATACOM-Core_03day

Zen - batch import test cases

Systick tick timer

STM32 and motor development (from stand-alone version to Networking)

Common short chain design methods

Druid monitoring - Introduction to JMX usage and principle

【SVN】SVN是什么?怎么使用?

Entity of cesium data visualization (Part 1)

Implementation of corner badge of Youmeng message push

Interview question: general layout and wiring principles of high-speed PCB
随机推荐
STM32 and motor development (from stand-alone version to Networking)
[chaosblade: delete pod according to the tag, pod domain name access exception scenario, pod file system i/o failure scenario]
Leetcode question brushing record (array) combination sum, combination sum II
Jenkins+ant+jmeter use
JVM garbage collection detailed learning notes (II)
STM32串口寄存器库函数配置方法
串口實驗——簡單數據收發
Record of structured interview
Detailed learning notes of JVM memory structure (I)
PMP Exam Preparation experience, seek common ground while reserving differences, and successfully pass the exam
串口实验——简单数据收发
信息安全实验三 :PGP邮件加密软件的使用
Skill review of test engineer before interview
Difference between interface iterator and iteratable
STM32 clock system
信息安全实验二 :使用X-SCANNER扫描工具
Pytest+request+allure+excel interface automatic construction from 0 to 1 [familiar with framework structure]
Serializer & modelserializer of DRF serialization and deserialization
Register address name mapping
[cloud native] Devops (I): introduction to Devops and use of code tool