You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Team,
I’m facing an issue while attempting to create a k3s cluster on Azure using Cluster API (CAPI). The resources (like VMs) are not being created in Azure, but the resource group and other associated resources are visible in the Azure portal. Below are the details:
Cluster API and Machine Deployment Status
bash
▶ kubectl get cluster-api
NAME CLUSTERCLASS PHASE AGE VERSION
cluster.cluster.x-k8s.io/clusterapik3s Provisioned 111m
NAME CLUSTER REPLICAS READY UPDATED UNAVAILABLE PHASE AGE VERSION
machinedeployment.cluster.x-k8s.io/clusterapik3s-md-0 clusterapik3s 111m v1.30.2+k3s2
NAME AGE
awsclustercontrolleridentity.infrastructure.cluster.x-k8s.io/default 7d6h
NAME TYPE AGE
azureclusteridentity.infrastructure.cluster.x-k8s.io/cluster-identity ServicePrincipal 111m
NAME CLUSTER READY REASON AGE
azurecluster.infrastructure.cluster.x-k8s.io/clusterapik3s clusterapik3s True 111m
NAME AGE
azuremachinetemplate.infrastructure.cluster.x-k8s.io/clusterapik3s-control-plane 111m
azuremachinetemplate.infrastructure.cluster.x-k8s.io/clusterapik3s-md-0 111m
Cluster Description Output
bash
▶ clusterctl describe cluster clusterapik3s
NAME READY SEVERITY REASON SINCE MESSAGE
Cluster/clusterapik3s True 109m
├─ClusterInfrastructure - AzureCluster/clusterapik3s True 109m
└─ControlPlane - KThreesControlPlane/clusterapik3s-control-plane
Generated YAML File
Below is the Template YAML file used for creating the Azure k3s cluster:
Issue
The cluster creation process indicates the cluster is provisioned, and resources like AzureClusterIdentity, AzureCluster, and AzureMachineTemplates are created successfully.
Despite this, control plane VMs are not being created in Azure, and I’m seeing the following error in the CACP3 Logs:
1.731990851709848e+09 INFO controllers.KThreesControlPlane Cluster Controller has not yet set OwnerRef {"namespace": "azure-cluster-k3s", "kthreesControlPlane": "clusterapik3s-control-plane"}
1.7319908517153668e+09 INFO controllers.KThreesControlPlane Cluster Controller has not yet set OwnerRef {"namespace": "azure-cluster-k3s", "kthreesControlPlane": "clusterapik3s-control-plane"}
Commands Used to Check Status
bash
▶ kubectl get cluster-api
▶ clusterctl describe cluster clusterapik3s
Kubectl logs of capi-bootstrap-system
Kubectl logs of capi-k3s-control-plane-system
Kubectl logs pf capz-system
Request for Help
Could someone assist me in understanding why the VMs (control plane and worker nodes) are not being created?
I suspect there might be an issue with the ownerReferences or a misconfiguration in the YAML file.
The text was updated successfully, but these errors were encountered:
Hi Team,
I’m facing an issue while attempting to create a k3s cluster on Azure using Cluster API (CAPI). The resources (like VMs) are not being created in Azure, but the resource group and other associated resources are visible in the Azure portal. Below are the details:
Cluster API and Machine Deployment Status
bash
Generated YAML File
Below is the Template YAML file used for creating the Azure k3s cluster:
Issue
The cluster creation process indicates the cluster is provisioned, and resources like AzureClusterIdentity, AzureCluster, and AzureMachineTemplates are created successfully.
Despite this, control plane VMs are not being created in Azure, and I’m seeing the following error in the CACP3 Logs:
1.731990851709848e+09 INFO controllers.KThreesControlPlane Cluster Controller has not yet set OwnerRef {"namespace": "azure-cluster-k3s", "kthreesControlPlane": "clusterapik3s-control-plane"}
1.7319908517153668e+09 INFO controllers.KThreesControlPlane Cluster Controller has not yet set OwnerRef {"namespace": "azure-cluster-k3s", "kthreesControlPlane": "clusterapik3s-control-plane"}
Commands Used to Check Status
bash
▶ kubectl get cluster-api
▶ clusterctl describe cluster clusterapik3s
Kubectl logs of capi-bootstrap-system
Kubectl logs of capi-k3s-control-plane-system
Kubectl logs pf capz-system
Request for Help
Could someone assist me in understanding why the VMs (control plane and worker nodes) are not being created?
I suspect there might be an issue with the ownerReferences or a misconfiguration in the YAML file.
The text was updated successfully, but these errors were encountered: