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.
Open the Che dashboard and start a workspace.
Once the workspace is started, open a terminal in the container that contains the Che CLI.
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.
|The automatic token injection currently works only on the OpenShift infrastructure.