当前位置:网站首页>Error in kubeadm join: [error port-10250]: port 10250 is in use [error fileavailable--etc kubernetes PKI
Error in kubeadm join: [error port-10250]: port 10250 is in use [error fileavailable--etc kubernetes PKI
2022-07-02 12:12:00 【Ostrich5yw】
kubeadm join Time error :[ERROR Port-10250]: Port 10250 is in use;[ERROR FileAvailable--etc-kubernetes-pki-ca.crt]: /etc/kubernetes/pki/ca.crt already exists
First use kubeadm structure k8s colony , Therefore, there is insufficient understanding of the process of adding child nodes to management nodes , As a result, I made a kubeadm init
after , Just ready for kubeadm join
operation . The result is the following error :
[[email protected] ostrich5yw]# kubeadm join 192.168.139.129:6443 --token abcdef.0123456789abcdef \
> --discovery-token-ca-cert-hash sha256:3ac4ae8b5b3b08f2b8cd8a85be7b37bc5855e749ec9126e3d87bebfb2235af9b
[preflight] Running pre-flight checks
[WARNING SystemVerification]: this Docker version is not on the list of validated versions: 20.10.6. Latest validated version: 18.09
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR DirAvailable--etc-kubernetes-manifests]: /etc/kubernetes/manifests is not empty
[ERROR FileAvailable--etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
[ERROR Port-10250]: Port 10250 is in use
[ERROR FileAvailable--etc-kubernetes-pki-ca.crt]: /etc/kubernetes/pki/ca.crt already exists
[preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...`
Question why : Only the parent node needs to run kubeadm init --config=kubeadm-config.yaml --upload-certs | tee kubeadm-init.log
To initialize ; For child nodes , No need to kubeadm init
To initialize , Direct operation kubeadm join Just join the parent node .
resolvent : function kubeadm reset
Reset child nodes , Then directly use for child nodes kubeadm join 192.168.139.129:6443 --token abcdef.0123456789abcdef --discovery-token-ca-cert-hash sha256:3ac4ae8b5b3b08f2b8cd8a85be7b37bc5855e749ec9126e3d87bebfb2235af9b
Add it to the corresponding parent node .
边栏推荐
- [old horse of industrial control] detailed explanation of Siemens PLC TCP protocol
- B high and beautiful code snippet sharing image generation
- 5g era, learning audio and video development, a super hot audio and video advanced development and learning classic
- 寻找二叉树中任意两个数的公共祖先
- 机械臂速成小指南(七):机械臂位姿的描述方法
- 计算二叉树的最大路径和
- mysql表的增删改查(进阶)
- Mysql database foundation
- 自然语言处理系列(二)——使用RNN搭建字符级语言模型
- Dynamic debugging of multi file program x32dbg
猜你喜欢
MySQL indexes and transactions
mysql表的增删改查(进阶)
Tas (file d'attente prioritaire)
mysql数据库基础
(C language) input a line of characters and count the number of English letters, spaces, numbers and other characters.
堆(优先级队列)
机械臂速成小指南(七):机械臂位姿的描述方法
HR wonderful dividing line
Docker-compose配置Mysql,Redis,MongoDB
Applet link generation
随机推荐
Mish shake the new successor of the deep learning relu activation function
Read the Flink source code and join Alibaba cloud Flink group..
From scratch, develop a web office suite (3): mouse events
Jenkins用户权限管理
Leetcode topic [array] -540- single element in an ordered array
Repeat, tile and repeat in pytorch_ The difference between interleave
String palindrome hash template question o (1) judge whether the string is palindrome
B high and beautiful code snippet sharing image generation
史上最易懂的f-string教程,收藏這一篇就够了
Tas (file d'attente prioritaire)
使用Sqoop把ADS层数据导出到MySQL
Maximum profit of jz63 shares
Log4j2
Fresh, 2022 advanced Android interview must know 100 questions (interview questions + answer analysis)
MSI announced that its motherboard products will cancel all paper accessories
深入理解PyTorch中的nn.Embedding
Codeforces 771 div2 B (no one FST, refers to himself)
Test shift left and right
conda常用命令汇总
Small guide for rapid formation of manipulator (VII): description method of position and posture of manipulator