Cache default Che images on all nodes

Cache default Che images on all nodes by enabling Kubernetes Image Puller. The Eclipse Che Operator controls the list of images to pre-pull and automatically updates them on Che upgrade.

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 Che images.

    kubectl patch checluster/eclipse-che \
        --namespace eclipse-che \
        --type='merge' \
        --patch '{
                  "spec": {
                    "components": {
                      "imagePuller": {
                        "enable": true
                      }
                    }
                  }
                }'
Verification
  • Verify that the image puller is enabled:

    kubectl get checluster eclipse-che -n eclipse-che -o jsonpath='{.spec.components.imagePuller.enable}'