Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] autok3s ui show unkown for deleted node #671

Open
cynen opened this issue Apr 26, 2024 · 2 comments
Open

[BUG] autok3s ui show unkown for deleted node #671

cynen opened this issue Apr 26, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@cynen
Copy link

cynen commented Apr 26, 2024

Describe the bug
Docker 部署的Autok3s:v0.9.2
创建基于 k3d的集群后,删除agent节点. (通过explorer 或者 kubectl delete)
autok3s ui 展示节点为 Unknown

Environments (please complete the following information):

  • OS: [e.g. Centos 7.9 ]
  • AutoK3s Version [e.g. v0.9.2]

Additional context
重新添加agent节点后,节点的序号基于之前添加过的数量顺序加.
比如: 之前有2个agent节点, 分别为 agent-0/agent-1 在删除所有agent后,再次添加agent. agent为agent-2 .

@cynen cynen added the bug Something isn't working label Apr 26, 2024
@cynen
Copy link
Author

cynen commented Apr 26, 2024

image

@JacieChao
Copy link
Collaborator

正如之前有人问过类似的问题,通过 kubectl delete 或 kube-explorer ui 删除节点时,AutoK3s 无法感知到,用户从 K3s 中删除了节点,但并未从 AutoK3s 侧的数据中清理掉节点,无法实时同步。
#648 (comment)

AutoK3s 是一个方便开发运维,快速在多云环境上创建 K3s 集群的小工具,删除集群时也会同步清理相关的资源,如果越过 AutoK3s 手动清理集群资源,则会有类似的未知问题发生,但并不会影响集群的使用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants