Comments (14)
The workaround below may help you:
- Using
kubectl get nodes
to check whether the batch of nodes have joined to the cluster successfully. - If not, use
autok3s join
CLI to join a node to refresh the cluster status.
autok3s join -p native --name jacie-test --ip <master-ip> --ssh-user <your-ssh-user> --ssh-key-path <your-ssh-key-path> --worker-ips <one-worker-ip>
Once the join process is complete, the cluster status will be refreshed to Running and the UI can work properly.
from autok3s.
Yes. AutoK3s can't synchronize your operation because the node was removed manually and didn't synchronize the AutoK3s database. So you can't rejoin the node by AutoK3s because the node is already in the cluster by AutoK3s side.
The workaround is to add the node back by K3s CLI manually for now.
from autok3s.
tested with v0.9.2-rc1. AutoK3s can return the correct status of the cluster if join nodes fail.
Close as complete
from autok3s.
Thanks for your feedback.
Are all cluster nodes CentOS 7.9 or only the newly added worker node is using CentOS 7.9?
It seemed that the new worker node could not fetch from the rpm mirror.
Could you please provide the join node parameters and the full log with joined the new node?
from autok3s.
vps-regtech.log
This is all the logs of this cluster.
all cluster nodes CentOS 7.9, When I added a new batch of nodes, an IP address was written incorrectly. The cluster is currently in an Upgraded state
from autok3s.
Is the joining node action stuck at the last line of the log you provide?
It seems like AutoK3s can't access the node 74.48.115.18
by SSH tunnel. Is this node IP the incorrect one?
from autok3s.
Q1: Yes
Q2: 74.48.115.18 is wrong, I made a mistake in writing. emmmmmm...
from autok3s.
Sometimes the native provider can't catch the join error correctly. When this situation happens, the cluster's status will be Upgrade forever.
I will find out if there's a workaround.
from autok3s.
Okay, I'll rebuild the cluster. Thank you for your answer.
Best wishes to you.
from autok3s.
@xuzheng0017 There's no need to rebuild the cluster. The K3s cluster won't impact by the AutoK3s cluster status.
from autok3s.
Okay, but I want to join other nodes to the page without any options.
from autok3s.
The bug is relative to the wrong catch of error in defer function. Will fix this in the next version.
from autok3s.
I have encountered another problem:
When I deleted a node in kube-explorer and then returned to the cluster page, the number of nodes did not decrease.
I added the node again with the command:
81d5d17a77de:/home/shell # autok3s join -p native --name vps-cargogo --ip xx.xx.xx.xx --ssh-user root --ssh-key-path /root/.autok3s/vps-cargogo/id_rsa --worker-ips xx.xx.xx.xx
time="2023-12-06T14:53:03+08:00" level=info msg="[native] begin to join nodes for vps-cargogo..."
time="2023-12-06T14:53:03+08:00" level=info msg="[native] executing join k3s node logic"
time="2023-12-06T14:53:03+08:00" level=info msg="[native] successfully executed join k3s node logic"
time="2023-12-06T14:53:03+08:00" level=info msg="[native] successfully executed join logic"
from autok3s.
Can only use commands on nodes to rejoin?
from autok3s.
Related Issues (20)
- [BUG] enbale explorer 失败 HOT 1
- [Feature Request] Support Cloud provider for Huawei HOT 1
- autok3s join使用离线安装包 HOT 2
- [BUG] k3d provider can't join more than one worker node to a cluster with only a master node HOT 5
- [BUG] mirror host can not resolve HOT 2
- [BUG] Failed to run on macOS Ventura HOT 1
- [BUG] helm-dashboard can't open HOT 2
- [BUG] Helm-dashboard won't restart if clicked the shutdown button in UI
- [BUG] 使用k3d provider时出现K3D错误 HOT 10
- Help: How to add INSTALL to autok3s_K3S_SELINUX_WARN These variables are passed to install.sh HOT 3
- [BUG] Invalid setting etcd-snapshot-schedule-cron HOT 5
- [BUG] When deleting the cluster in autok3s, the data directory defined by --data-dir was not deleted HOT 2
- [Feature Request] Support cpu arch for LoongArch HOT 3
- [Enhancement] Cluster list page should show k3s version HOT 1
- [Feature Request] Support get the dynamic port of the k3d cluster
- Proposal: Adding e2e testing for this project HOT 1
- [Enhance] support partial rollback when creating cluster or joining nodes HOT 2
- [BUG] Can't enable kube-explorer ui plugin when creating a cluster HOT 1
- [Enhancement] Bump k3d to v5.6.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autok3s.