-
Notifications
You must be signed in to change notification settings - Fork 428
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
Add Flatcar Container Linux template #1729
Add Flatcar Container Linux template #1729
Conversation
@jepio: The label(s) In response to this:
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. |
Welcome @jepio! |
Hi @jepio. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just nits, overall looks good!
/ok-to-test |
Does this require kubernetes-sigs/cluster-api#4172 to merge first? |
For functioning correctly, yes, as it's using |
/hold until kubernetes-sigs/cluster-api#4172 is released |
CABPK PR kubernetes-sigs/cluster-api#4172 has been merged and will be part of v1.1 release, so we're getting closer getting this as well 🎉 |
Updated the apiversion from |
I wonder, CAPI v1.1 RC release should be happening soon. I wonder if we can update CAPA main manifests to use it, so this PR could be merged. |
Do you mean CAPZ? We are about to release CAPZ v1.1 so I don't want to merge this until CAPI release happens (in January) so we don't end up releasing a flavor that doesn't work. |
I was thinking about updating cluster-api-provider-azure/test/e2e/config/azure-dev.yaml Lines 60 to 61 in d352e7c
|
#1951 just merged which means this should now work how do we test this template to make sure it doesn't regress? |
@invidian would it be easier/better to extract the community gallery support to a separate PR? If so, feel free to do so. |
Here the community gallery has e2e tests with it, but on the other hand this PR may still take a bit before merging, as we need to do final cleanups with the used images. Will open separate PR. |
Opened #2277 then. |
/retest
|
I will be working on flatcar/Flatcar#734 to get the community gallery out with some images we can use here. I think that's the last requirement missing for this PR 😅 |
/retest Flatcar test has failed as I forgot to replicate new image to all regions used by CI. Should be fixed now. |
/retest Flatcar tests are passing again, but let's try making it green. |
This template allows deploying workload clusters based on Flatcar Container Linux image-builder images. The adjustments compared to cluster-template.yaml are: * ignition does not support using jinja templating to inject hostname into kubeadm.yaml so we need to use a preKubeadmCommand. We also need a systemd drop-in to ensure proper service ordering when fetching the hostname (after oem-cloudinit.service) * MachineTemplate needs to include a sharedGallery based image with plan information. The parameters in the template are the values used by image-builder when running: make -C images/capi FLATCAR_VERSION=2905.2.3 GALLERY_NAME=ClusterAPI build-azure-sig-flatcar The version field can be 'latest' or a fixed version. * drop 'tableType: gpt' in partition spec as Flatcar doesn't support anything else * drop 'ephemeral0.1' disk entry as that is an internal cloud-init alias. Temporary storage is automatically configured on Flatcar. * mounts reference labels specified in 'fileSystems' section, and don't use fstab syntax Based-on-work-by: Mateusz Gozdek <[email protected]> Signed-off-by: Jeremi Piotrowski <[email protected]>
Signed-off-by: Mateusz Gozdek <[email protected]>
Signed-off-by: Mateusz Gozdek <[email protected]>
Signed-off-by: Mateusz Gozdek <[email protected]>
/test pull-cluster-api-provider-azure-e2e-optional Trying out using gen 2 images but I hit some issues with wrong SKU and missing replication region for an image. Hopefully it will pass now. |
Signed-off-by: Mateusz Gozdek <[email protected]>
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
/close Doing some PR queue cleanup 🧹, please feel free to reopen when this is ready for review |
@CecileRobertMichon: Closed this PR. In response to this:
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. |
#2890 is now merged :) |
What type of PR is this?
/kind other
What this PR does / why we need it:
This PR adds a cluster template for Flatcar Container Linux based clusters.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Related to #629
Special notes for your reviewer:
The Flatcar cluster template works with images built using this image-builder PR kubernetes-sigs/image-builder#701 and this cluster-api PR kubernetes-sigs/cluster-api#4172.
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
No image versions are changed.
TODOs:
Release note: