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

etcd controller detect ghost member and update EtcdIsVoter condition #11232

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mogliang
Copy link

@mogliang mogliang commented Nov 5, 2024

Proposed Changes

When etcd controller detects ghost member (a etcd member which don't belong to any k3s node), it set all controlplane node EtcdIsVoter condition to false with reason UnknownMember.

Types of Changes

Bugfix for issue #11231

Verification

  1. create 3 controlplane node k3s cluster
  2. shutdown 1 controlplane machine and delete that node by kubectl delete node
  3. check node by kubectl get node -oyaml, the cp node EtcdIsVoter condition shall in false status with reason UnknownMember

Testing

TODO

Linked Issues

#11231

User-Facing Change

NONE

Further Comments

qi liang added 2 commits November 5, 2024 10:40
fix
Signed-off-by: qi liang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant