Open t4i5m6 opened 4 months ago
This issue is currently awaiting triage.
If CAPA/CAPI contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
/kind bug
What steps did you take and what happened: [A clear and concise description of what the bug is.] When I tried to use amazon latest ubuntu ami "ami-07edf4c2ac90845dc" in my worker node, it failed to join the cluster. Will show "MachineDeployment/ False Warning WaitingForAvailableMachines Minimum availability requires 2 replicas, current 0 available" forever
And then I went to the ec2 machine. the cloud-init data has the error message with
After doing some investigation, I thought the problem is for the bootstrapping and then I manually use ssm manager to login to the ec2 machine and run the /etc/eks/bootstrap.sh Then the ec2 machine can successfully join the cluster.
However, if I use the bootstrapCommandOveride in the EKSConfigTemplate object, it doesn't take effect.
I also tried on the CAPI ubuntu image but it didn't produce the cloud-init error and have user data but there is no /etc/eks/bootstrap.sh there.
Any advice to create an EKS cluster with ubuntu ami ?
What did you expect to happen: The ec2 machine can join the cluster
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.] The yaml file I used to creat eks cluster
Environment:
kubectl version
): 1.29.0/etc/os-release
):