当前位置:网站首页>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 .
边栏推荐
- kubeadm join时出现错误:[ERROR Port-10250]: Port 10250 is in use [ERROR FileAvailable--etc-kubernetes-pki
- Full link voltage measurement
- From scratch, develop a web office suite (3): mouse events
- FastDateFormat为什么线程安全
- 全链路压测
- 二分刷题记录(洛谷题单)区间的甄别
- Log4j2
- [old horse of industrial control] detailed explanation of Siemens PLC TCP protocol
- Jenkins voucher management
- Log4j2
猜你喜欢
Brush questions --- binary tree --2
drools中then部分的写法
conda常用命令汇总
Dynamic debugging of multi file program x32dbg
GGHIGHLIGHT: EASY WAY TO HIGHLIGHT A GGPLOT IN R
How does Premiere (PR) import the preset mogrt template?
Addition, deletion, modification and query of MySQL table (Advanced)
机械臂速成小指南(七):机械臂位姿的描述方法
XSS labs master shooting range environment construction and 1-6 problem solving ideas
Experiment of connecting mobile phone hotspot based on Arduino and esp8266 (successful)
随机推荐
From scratch, develop a web office suite (3): mouse events
How to Create a Beautiful Plots in R with Summary Statistics Labels
(C语言)八进制转换十进制
排序---
Sub thread get request
CDH6之Sqoop添加数据库驱动
还不会安装WSL 2?看这一篇文章就够了
求16以内正整数的阶乘,也就是n的阶层(0=<n<=16)。输入1111退出。
post请求体内容无法重复获取
Leetcode922 按奇偶排序数组 II
全链路压测
MSI announced that its motherboard products will cancel all paper accessories
Input a three digit number and output its single digit, ten digit and hundred digit.
Jenkins用户权限管理
Find the factorial of a positive integer within 16, that is, the class of n (0= < n < =16). Enter 1111 to exit.
自然语言处理系列(三)——LSTM
Map和Set
(C language) 3 small Codes: 1+2+3+ · · +100=? And judge whether a year is a leap year or a normal year? And calculate the circumference and area of the circle?
Thesis translation: 2022_ PACDNN: A phase-aware composite deep neural network for speech enhancement
Applet link generation