当前位置:网站首页>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
边栏推荐
- SAP MM STO单据的外向交货单创建后新加ITEM?
- PMP certificate preparation experience sharing
- (3/8)枚举的不当用法 之 方法参数(二)
- Count the number of words C language
- The use of recycling ideas
- Record of structured interview
- Summary of PMP learning materials
- 华为HCIP-DATACOM-Core_03day
- Reading notes of pyramid principle
- Idea development environment installation
猜你喜欢
Pycharm importing third-party libraries
Troublesome problem of image resizing when using typora to edit markdown to upload CSDN
Reflections on the way of enterprise IT architecture transformation (Alibaba's China Taiwan strategic thought and architecture practice)
串口實驗——簡單數據收發
Regular matching starts with XXX and ends with XXX
STM32 clock system
Pycharm create a new file and add author information
【Istio Network CRD VirtualService、Envoyfilter】
What is the use of PMP certificate?
Variable parameter of variable length function
随机推荐
PMP Exam details after the release of the new exam outline
Two schemes of unit test
PMP Exam Preparation experience, seek common ground while reserving differences, and successfully pass the exam
外部中断实现按键实验
Mysql数据库-锁-学习笔记
C语言指针(习题篇)
Druid monitoring - Introduction to JMX usage and principle
JVM 垃圾回收 详细学习笔记(二)
LeetCode每日一题(2316. Count Unreachable Pairs of Nodes in an Undirected Graph)
Simulation volume leetcode [general] 1706 Where does the ball meet
PMP experience learning and sharing process
JVM 内存结构 详细学习笔记(一)
Leetcode daily questions (2316. count unreachable pairs of nodes in an undirected graph)
The use of recycling ideas
Serializer & modelserializer of DRF serialization and deserialization
Reading notes of pyramid principle
Jenkins+ant+jmeter use
How does the project manager write the weekly summary and weekly plan?
E-commerce campaign Guide
Pytest installation (command line installation)