Skip to content

Bundle kubectl image with system-upgrade-controller image in an image tarball #375

@manuelbuil

Description

@manuelbuil

Thanks for helping us to improve the system-upgrade-controller! We welcome all feature requests. Please fill out each area of the template so we can better understand the request. You can delete this message portion of the bug report.

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When deploying in Airgap environments (using tarball installation), there is a tarball for the system-upgrade-controller image. However, we also need to include the kubectl image but the required version is not that obvious. We need to inspect the yaml file that install system-upgrade-controller and check the kubectl image version.

If both images were part of the image tarball, the automatic upgrade in airgap scenarios would be easier to prepare.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Adding a tarball "bundle-kubectl-suc.tar.gz" in /var/lib/rancher/${distro}/agent/images/ will upload both images in the containerd image registry

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

1 - Look at the suc manifest and check what kubectl version is needed
2 - Docker save that kubectl image
3 - scp that image to the airgap node
4 - Place that image in /var/lib/rancher/${distro}/agent/images/

By doing this, we would save 3 steps

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions