Configuring Image Puller to pre-pull custom images

You can configure Kubernetes Image Puller to pre-pull custom images.

Prerequisites
  • Your organization’s instance of Che is installed and running on Kubernetes cluster.

  • Image Puller is installed on Kubernetes cluster.

  • An active kubectl session with administrative permissions to the destination Kubernetes cluster. See Overview of kubectl.

Procedure
  1. Configure the Image Puller to pre-pull custom images.

    kubectl patch checluster/eclipse-che \
        --namespace eclipse-che \
        --type='merge' \
        --patch '{
                  "spec": {
                    "components": {
                      "imagePuller": {
                        "enable": true,
                        "spec": {
                          "images": "NAME-1=IMAGE-1;NAME-2=IMAGE-2" (1)
                        }
                      }
                    }
                  }
                }'
    1 The semicolon separated list of images