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

Disable default k8s services for AMI #70

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

bschimke95
Copy link
Contributor

Summary

Disable k8s services on new default AMI.

Rationale

The CAPA provider was broken because of a cloud-init issue. See kubernetes-sigs/cluster-api-provider-aws#5115. Upstream implemented a temporary workaround to pin the cloud-init version kubernetes-sigs/image-builder#1590.
We can now use the new AMI from upstream. This image contains kubelet and containerd by default so we need to disable them before bootstrapping the k8s-snap.

A permanent solution is worked out here: kubernetes-sigs/image-builder#1583. Once this is done, we need to start build our own AMIs as part of our release workflow to provide supported AMIs for each release. We already have a card to work on this.

I also slightly changed the template variables to have defaults instead of just suggestions. IMHO it is weird to need to copy all those values. Now, only the values one wants to change need to be touched.

@bschimke95 bschimke95 requested a review from a team as a code owner October 15, 2024 08:09
Copy link
Contributor

@HomayoonAlimohammadi HomayoonAlimohammadi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @bschimke95! LGTM, just a minor comment.

templates/aws/template-variables.rc Show resolved Hide resolved
@bschimke95 bschimke95 merged commit 08084e8 into main Oct 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants