kubernetes-sigs / image-builder

Tools for building Kubernetes disk images
https://image-builder.sigs.k8s.io/
Apache License 2.0
401 stars 394 forks source link

Update Azure Linux 3 base image source #1599

Closed mboersma closed 1 month ago

mboersma commented 1 month ago

Change description

Updates the image_offer slightly to match the source of Azure Linux now that version 3 is released. Building on the preview base began to fail recently due to missing rpms, which makes sense.

Also defaults to testing Azure Linux 3 instead of version 2 (Mariner) and adds a CVM target.

Related issues

Additional context

You can poke around at what images are available with this Azure CLI command:

 az vm image list --publisher MicrosoftCBLMariner --all
k8s-ci-robot commented 1 month ago

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

mboersma commented 1 month ago

azurelinux-3-cvm failed with this error:

    azure-arm.sig-azurelinux-3-cvm: TASK [kubernetes : Install Kubernetes] *****************************************
    azure-arm.sig-azurelinux-3-cvm: fatal: [default]: FAILED! => {"changed": false, "failures": [], "msg": "Unknown Error occurred: Transaction test error:\n  installing package kubeadm-1.30.5-150500.1.1.x86_64 needs 6MB more space on the / filesystem\n  installing package kubelet-1.30.5-150500.1.1.x86_64 needs 106MB more space on the / filesystem\n  installing package kubectl-1.30.5-150500.1.1.x86_64 needs 158MB more space on the / filesystem\n\nError Summary\n-------------\nDisk Requirements:\n   At least 158MB more space needed on the / filesystem.\n", "rc": 1, "results": []}
mboersma commented 1 month ago

/retitle [WIP] Update Azure Linux 3 base image source

mboersma commented 1 month ago

/retitle Update Azure Linux 3 base image source

mboersma commented 1 month ago

/cc @AverageMarcus @drew-viles

drew-viles commented 1 month ago

/lgtm /approve

k8s-ci-robot commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: drew-viles

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/kubernetes-sigs/image-builder/blob/main/OWNERS)~~ [drew-viles] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment