Configuring Image Puller to pre-pull additional images
You can configure Kubernetes Image Puller to pre-pull additional Che 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
-
Create
k8s-image-puller
namespace:kubectl create namespace k8s-image-puller
-
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