Skip to content

build CAPO supported images #1502

Closed as not planned
Closed as not planned
@tormath1

Description

@tormath1

/kind feature

Describe the solution you'd like:

During the CAPO office hours, @mdbooth suggested to build CAPO supported images in the CI. These images could be directly consumed by the tests (and consumed by the users?).

These images could be built for multiple Kubernetes version and multiple OS version (ubuntu-2004, flatcar, etc.)

Anything else you would like to add:

On the implementation side, we could use Github Actions and image-builder Docker image. Example with Flatcar:

sudo docker run --privileged --net host -v "${PWD}/docker-output:/output" -v /dev:/dev --rm \
    -e PACKER_FLAGS="--var 'kubernetes_semver=v1.26.2' --var 'kubernetes_series=v1.26'" \
    -e OEM_ID=openstack \
    tormath1/cluster-node-image-builder-amd64 \
    build-qemu-flatcar

(Note: it needs kubernetes-sigs/image-builder#1092)

For Flatcar: flatcar/Flatcar#928 (kubernetes-sigs/image-builder#924) can be interesting

Produced images could be then stored on a GCS bucket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions