-
Notifications
You must be signed in to change notification settings - Fork 985
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
Machine is created with amiFamily but is not bootstrapped when using amiSelector #4708
Comments
Aha, user-data is empty. Is there a default mechanism to set this? I didn't see anything in the guide indicated it would be cleared out if not using the
Missing in the [settings.host-containers]
[settings.host-containers.admin]
enabled = false
[settings.host-containers.control]
enabled = true
[settings.kubernetes] |
I put up a PR to clarify in the docs, for Custom AMI families there is no merging of UserData. |
Ah thanks for that. Could there be? Is there a good reason not to or at least allow the option to override? |
Description
Observed Behavior: Karpenter is configured correctly, using the
amiFamily: Bottlerocket
. However we wanted to test recent changes before the upgrade to Bottlerocketv1.15
. To do that we wanted to filter for the lower version via theamiFamily: Custom
setting and filter the AMI. In doing so, the node appears to not bootstrap and attach to the cluster despite a new EC2 machine coming online and registering as amachine
CRD.AWSNodeTemplate Working - Latest Bottlerocket:
AWSNodeTemplate Working - Latest Bottlerocket:
Expected Behavior: The older Bottlerocket node (
v1.14.3
) would be selected and come online.Reproduction Steps (Please include YAML):
I can change the filter to match the same AMI for
v1.15
and it also fails when not using the BottlerocketamiFamily
Versions:
v0.29.2
kubectl version
):v1.24.16
The text was updated successfully, but these errors were encountered: