Automatic Kubernetes token injection

This section describes how to use the Kubernetes user token that is automatically injected into workspace containers which allows running Che CLI commands against Kubernetes cluster.

Procedure
  1. Open the Che dashboard and start a workspace.

  2. Once the workspace is started, open a terminal in the container that contains the Che CLI.

  3. Execute Che CLI commands which allow you to run commands against Kubernetes cluster. CLI can be used for deploying applications, inspecting and managing cluster resources, and viewing logs. Kubernetes user token will be used during the execution of the commands.

    Token Injection in IDE
The automatic token injection currently works only on the OpenShift infrastructure.