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

kubeadmcontrol plane is never initialized when using kind cluster #1213

Open
pigaur opened this issue Apr 19, 2024 · 3 comments
Open

kubeadmcontrol plane is never initialized when using kind cluster #1213

pigaur opened this issue Apr 19, 2024 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.

Comments

@pigaur
Copy link

pigaur commented Apr 19, 2024

What steps did you take and what happened?

I was trying to create a cluster using Cluster API quick start guide. However, I came across this scenario where when you create the kind cluster using default kind create cluster, the cluster control plane is never initialized.

https://cluster-api.sigs.k8s.io/user/quick-start

kind create cluster
kubectl get kubeadmcontrolplane
NAME                     CLUSTER    INITIALIZED   API SERVER AVAILABLE   REPLICAS   READY   UPDATED   UNAVAILABLE   AGE     VERSION
wardaddy-control-plane   wardaddy                                        1                  1         1             2m48s   v1.26.7

When I created a kind cluster based on Docker, it works.

kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
networking:
  ipFamily: dual
nodes:
- role: control-plane
  extraMounts:
    - hostPath: /var/run/docker.sock
      containerPath: /var/run/docker.sock
kubectl get kubeadmcontrolplane
NAME                     CLUSTER    INITIALIZED   API SERVER AVAILABLE   REPLICAS   READY   UPDATED   UNAVAILABLE   AGE     VERSION
wardaddy-control-plane   wardaddy   true                                 3                  3         3             9m16s   v1.26.7

Cloud Provided Platform in use is GCP.

What did you expect to happen?

I expect the cluster to be initilized and in ready state once CNI is installed.

Cluster API version

cluster.x-k8s.io/v1beta1

Kubernetes version

v1.26.7

Anything else you would like to add?

No response

Label(s) to be applied

/kind bug
One or more /area label. See https://github.com/kubernetes-sigs/cluster-api/labels?q=area for the list of labels.

@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Apr 19, 2024
@k8s-ci-robot
Copy link
Contributor

This issue is currently awaiting triage.

CAPI contributors will take a look as soon as possible, apply one of the triage/* labels and provide further guidance.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@fabriziopandini fabriziopandini added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Apr 22, 2024
@fabriziopandini
Copy link
Member

It seems that you should rotate this issue to cluster-api-provider-gcp

@fabriziopandini
Copy link
Member

/transfer cluster-api-provider-gcp

@k8s-ci-robot k8s-ci-robot transferred this issue from kubernetes-sigs/cluster-api Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done.
Projects
None yet
Development

No branches or pull requests

3 participants