Defining Additional Images
This topic describes how to define additional images to be included in the .airgap
bundle for a release.
Overview
Air gap bundles (.airgap
) contain the images needed to install and run a single release of your application in air gap environments with no outbound internet access. For more information about how to build and download air gap bundles, see Downloading Air Gap Bundles.
When building the .airgap
bundle for a release, the Replicated Vendor Portal finds and includes all images defined in the Pod specs for the release. During installation or upgrade, KOTS retags images from the .airgap
bundle and pushes them to the registry configured in KOTS.
Any required images that are not defined in your application manifests must be listed in the additionalImages
attribute of the KOTS Application custom resource. This ensures that the images are included in the .airgap
bundle for the release.
Define Additional Images for Air Gap Bundles
KOTS supports including the following types of images in the additionalImages
field:
- Public images referenced by the docker pullable image name.
- Images pushed to a private registry that was configured in the Vendor Portal, referenced by the docker-pullable, upstream image name. For more information about configuring private registries, see Connecting to an External Registry.
note
If you use the Replicated proxy registry for online (internet-connected) installations, be sure to use the upstream image name in the
additionalImages
field, rather than referencing the location of the image atproxy.replicated.com
. - Images pushed to the Replicated registry referenced by the
registry.replicated.com
name.
The following example demonstrates adding multiple images to additionalImages
:
apiVersion: kots.io/v1beta1
kind: Application
metadata:
name: my-app
spec:
additionalImages:
- elasticsearch:7.6.0
- quay.io/orgname/private-image:v1.2.3
- registry.replicated.com/my-operator/my-private-image:abd123f