Installing Image Puller using the Che Operator

This section describes how to use the Che Operator to install the Image Puller. This is a Community-supported technology preview feature.

Prerequisites
Procedure
  1. Edit the CheCluster Custom Resource and set .spec.imagePuller.enable to true

    Example 1. Enabling Image Puller in the CheCluster Custom Resource
    apiVersion: org.eclipse.che/v1
    kind: CheCluster
    metadata:
      name: eclipse-che
    spec:
      # ...
      imagePuller:
        enable: true
    Uninstalling Image Puller using Che Operator
    • Edit the CheCluster Custom Resource and set .spec.imagePuller.enable to false.

  2. Edit the CheCluster Custom Resource and set the .spec.imagePuller.spec to configure the optional Image Puller parameters for the Che Operator.

    Example 2. Configuring Image Puller in the CheCluster Custom Resource
    apiVersion: org.eclipse.che/v1
    kind: CheCluster
    metadata:
      name: eclipse-che
    spec:
      ...
      imagePuller:
        enable: true
        spec:
            configMapName: <kubernetes-image-puller>
            daemonsetName: <kubernetes-image-puller>
            deploymentName: <kubernetes-image-puller>
            images: <java11-maven=quay.io/eclipse/che-java11-maven:nightly;che-theia=quay.io/eclipse/che-theia:next;java-plugin-runner=eclipse/che-remote-plugin-runner-java8:latest;>
Verification steps
  1. Kubernetes or OpenShift creates a kubernetes-image-puller-operator Subscription.

  2. The eclipse-che namespace contains a Kubernetes Image Puller Operator ClusterServiceVersion:

    $ kubectl get clusterserviceversions
  3. The eclipse-che namespace contains these deployments: kubernetes-image-puller and kubernetes-image-puller-operator.

    $ kubectl get deployments
  4. The Kubernetes Image Puller Operator creates a KubernetesImagePuller Custom Resource:

    $ kubectl get kubernetesimagepullers