当前位置:网站首页>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 .
边栏推荐
- 【工控老马】西门子PLC Siemens PLC TCP协议详解
- [C language] convert decimal numbers to binary numbers
- SCM power supply
- 史上最易懂的f-string教程,收藏这一篇就够了
- 自然语言处理系列(三)——LSTM
- Leetcode14 最长公共前缀
- 基于Arduino和ESP8266的Blink代码运行成功(包含错误分析)
- XSS labs master shooting range environment construction and 1-6 problem solving ideas
- arcgis js 4.x 地图中加入图片
- Depth filter of SvO2 series
猜你喜欢

Differences between nodes and sharding in ES cluster

mysql表的增删改查(进阶)

HOW TO CREATE AN INTERACTIVE CORRELATION MATRIX HEATMAP IN R

Lekao: contents of the provisions on the responsibility of units for fire safety in the fire protection law

kubenetes中port、targetPort、nodePort、containerPort的区别与联系

Multiply LCA (nearest common ancestor)

SVO2系列之深度滤波DepthFilter

甜心教主:王心凌

Jenkins用户权限管理

测试左移和右移
随机推荐
Seriation in R: How to Optimally Order Objects in a Data Matrice
Addition, deletion, modification and query of MySQL table (Advanced)
【工控老马】西门子PLC Siemens PLC TCP协议详解
SVO2系列之深度濾波DepthFilter
The blink code based on Arduino and esp8266 runs successfully (including error analysis)
kubenetes中port、targetPort、nodePort、containerPort的区别与联系
Docker-compose配置Mysql,Redis,MongoDB
Natural language processing series (I) -- RNN Foundation
输入一个三位的数字,输出它的个位数,十位数、百位数。
Tas (file d'attente prioritaire)
计算二叉树的最大路径和
On data preprocessing in sklearn
字符串回文hash 模板题 O(1)判字符串是否回文
H5, add a mask layer to the page, which is similar to clicking the upper right corner to open it in the browser
使用Sqoop把ADS层数据导出到MySQL
子线程获取Request
(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?
二分刷题记录(洛谷题单)区间的甄别
SparkContext: Error initializing SparkContext解决方法
SVO2系列之深度滤波DepthFilter