Skip to content

kubeadm join is being run on a worker node that is already joined to a cluster #700

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

Open
rkahl opened this issue Mar 12, 2025 · 2 comments
Labels

Comments

@rkahl
Copy link

rkahl commented Mar 12, 2025

Describe the Bug

kubeadm join is being run on a worker node that is already joined to a cluster.

Expected Behavior

The join phase should be skipped in that case.

Steps to Reproduce

Environment

  • Puppet v8.10
  • puppetlabs-kubernetes v8.1.0
  • Kubernetes v1.32.3

Additional Context

Problem is that Kubernetes may forbid the worker nodes to list all nodes of the cluster; it may only list itself.
The unless command of the join should look like "kubectl get node ${node_name} | grep ${node_name}".

@rkahl rkahl added the bug label Mar 12, 2025
@kattal-forsk
Copy link

Hello,
I am experiencing the exact same issue. Do you know if a bugfix is planned?
Thank you

@asusk7m550
Copy link

A fix for this bug will be in #696

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants