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

cluster nodes are created without control plane and cluster bootstrap controller doesn't see it as ready #364

Open
waleedhammam opened this issue Feb 15, 2023 · 0 comments

Comments

@waleedhammam
Copy link
Contributor

waleedhammam commented Feb 15, 2023

when we create a cluster the control plane node should have a label node-role.kubernetes.io/control-plane= as weave-gitops-enterprise considers it ready when it has this label

➜  k get nodes                                
NAME                                             STATUS   ROLES    AGE   VERSION
ip-192-168-130-239.eu-north-1.compute.internal   Ready    <none>   16h   v1.24.9-eks-49d8fe8
  • workaround after cluster is created
    kubectl label nodes ip-192-168-130-239.eu-north-1.compute.internal node-role.kubernetes.io/control-plane=

Request feature for cluster bootstrap controller

Problem

  • Checking control plane is ready by labels could be misleading as clusters in providers like AWS, GKE, .. don't give you access to ControlPlane

Possible Solution

  • To check control plane readiness by calling control plane API
  • still searching for other solutions
@waleedhammam waleedhammam changed the title cluster nodes are created without control plane role cluster nodes are created without control plane and cluster bootstrap controller doesn't see it as ready Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant