Retrieving the default list of images for Kubernetes Image Puller

Learn how to retrieve the default list of images used by Kubernetes Image Puller. This can be helpful for administrators who want to review and configure Image Puller to use only a subset of these images in advance.

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.

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

Procedure
  1. Find out the namespace where the Che Operator is deployed:

    OPERATOR_NAMESPACE=$(kubectl get pods -l app.kubernetes.io/component=che-operator -o jsonpath={".items[0].metadata.namespace"} --all-namespaces)
  2. Find out the images that can be pre-pulled by the Image Puller:

    kubectl exec -n $OPERATOR_NAMESPACE deploy/che-operator -- cat /tmp/external_images.txt