当前位置:网站首页>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 .
边栏推荐
- Multiply LCA (nearest common ancestor)
- drools执行完某个规则后终止别的规则执行
- Leetcode14 最长公共前缀
- Yygh-10-wechat payment
- Log4j2
- 基于Arduino和ESP8266的连接手机热点实验(成功)
- 记录一下MySql update会锁定哪些范围的数据
- (C language) input a line of characters and count the number of English letters, spaces, numbers and other characters.
- 自然语言处理系列(三)——LSTM
- Heap (priority queue)
猜你喜欢

Jenkins user rights management

YYGH-BUG-04

小程序链接生成

(C语言)3个小代码:1+2+3+···+100=?和判断一个年份是闰年还是平年?和计算圆的周长和面积?

Depth filter of SvO2 series

基于Arduino和ESP8266的Blink代码运行成功(包含错误分析)

(C language) input a line of characters and count the number of English letters, spaces, numbers and other characters.

Take you ten days to easily finish the finale of go micro services (distributed transactions)

Sort---

Test shift left and right
随机推荐
(C语言)3个小代码:1+2+3+···+100=?和判断一个年份是闰年还是平年?和计算圆的周长和面积?
MSI announced that its motherboard products will cancel all paper accessories
On data preprocessing in sklearn
Gaode map test case
Deep understanding of NN in pytorch Embedding
GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R
GGPlot Examples Best Reference
[untitled] how to mount a hard disk in armbian
Leetcode922 按奇偶排序数组 II
二分刷题记录(洛谷题单)区间的甄别
Docker-compose配置Mysql,Redis,MongoDB
测试左移和右移
Addition, deletion, modification and query of MySQL table (Advanced)
Jenkins用户权限管理
From scratch, develop a web office suite (3): mouse events
drools中then部分的写法
Read the Flink source code and join Alibaba cloud Flink group..
Take you ten days to easily finish the finale of go micro services (distributed transactions)
PyTorch中repeat、tile与repeat_interleave的区别
Jenkins voucher management