1. Overview

When twistcli installs Console into a Kubernetes or OpenShift cluster, it executes a series of steps. To help you troubleshoot issues when twistcli fails, the steps in the install flow are described here:

When you run twistcli console install, it:

  1. Loads the Console image on localhost, and tags it with the registry address.

  2. Deletes the old Console replication controller, if it exists, and waits for Console deletion.

  3. Deletes the config map, if it exists.

  4. Creates Prisma Cloud namespace, if it does not exist.

  5. If the service does not exist, twistcli resolves the service template to a file and creates a new service.

  6. If persistent volume claim (PVC) does not exist, twistcli resolves the PVC template to a file and creates a new PVC.

  7. Waits to the PVC to bind to a persistent volume resource. twistcli expects that the persistent volume has already been created by the user. Note that the PVC is not deleted and recreated because once the PVC is be deleted, it cannot bind again to the persistent volume without recreating the persistent volume.

  8. Retrieves the service IPs (Cluster IPs, and adds them to the SAN.

  9. Creates a config map.

  10. Resolves Console template to a file, and creates a Console replication controller.

  11. Deletes the working directory.