当前位置:网站首页>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 .
边栏推荐
猜你喜欢

甜心教主:王心凌

PyTorch搭建LSTM实现服装分类(FashionMNIST)

WSL 2 will not be installed yet? It's enough to read this article

drools决策表的简单使用

Seriation in R: How to Optimally Order Objects in a Data Matrice

Read the Flink source code and join Alibaba cloud Flink group..

YYGH-BUG-05

Dynamic debugging of multi file program x32dbg

自然语言处理系列(一)——RNN基础

Map和Set
随机推荐
Map and set
MySQL indexes and transactions
字符串回文hash 模板题 O(1)判字符串是否回文
From scratch, develop a web office suite (3): mouse events
堆(优先级队列)
Time format display
Log4j2
Lombok common annotations
Leetcode739 每日温度
SSH automatically disconnects (pretends to be dead) after a period of no operation
[geek challenge 2019] upload
CDA data analysis -- common knowledge points induction of Excel data processing
Maximum profit of jz63 shares
5g era, learning audio and video development, a super hot audio and video advanced development and learning classic
On data preprocessing in sklearn
求16以内正整数的阶乘,也就是n的阶层(0=<n<=16)。输入1111退出。
Log4j2
堆(優先級隊列)
[C language] convert decimal numbers to binary numbers
H5, add a mask layer to the page, which is similar to clicking the upper right corner to open it in the browser