Configuring Image Puller to pre-pull additional images

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

This page is for platform administrators who install, configure, and manage Che on Kubernetes clusters. To learn more about common roles and example tasks referenced in Che documentation, see Common user roles and tasks.

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. Create k8s-image-puller namespace:

    kubectl create namespace k8s-image-puller
  2. Create KubernetesImagePuller Custom Resource:

    kubectl apply -f - <<EOF
    apiVersion: che.eclipse.org/v1alpha1
    kind: KubernetesImagePuller
    metadata:
      name: k8s-image-puller-images
      namespace: k8s-image-puller
    spec:
      images: "__NAME-1__=__IMAGE-1__;__NAME-2__=__IMAGE-2__" (1)
    EOF
    1 The semicolon separated list of images