Kubectl Tokens and Access Management

Set up KubeCtl within the DuploCloud Portal by downloading the token and configuring Mirantis Lens for DuploCloud authentication.

Downloading a kubectl Token

Connect directly to your Kubernetes cluster namespace using a kubectl token. This facilitates direct interaction with your Kubernetes cluster through a command-line interface.

  1. In the DuploCloud Portal, navigate to Kubernetes -> Services.

  2. From the KubeCtl list box, select KubeCtl Token. The Token window displays. Copy the contents to your clipboard.

The Kubernetes Services page with the KubeCtl Token option highlighted
The kubectl Token window in the DuploCloud Portal

Downloading a kubectl Token for Non-Administrators

If you don't have administrator privileges, configure AWS credentials for interacting with cloud resources and download a kubectl token tied to a service account. This token is specifically for the selected Tenant. It is designed for use with a DuploCloud service account, not for human users.

  1. In the DuploCloud Portal, navigate to Kubernetes -> Services. The Services page displays.

  2. Select the Service name from the Name column.

  3. From the KubeCtl item list, select KubeCtl Token. The KubeCtl Token window displays.

    The Token window
  4. Click Copy to copy the kubectl commands in the Token window to your clipboard.

  5. From the KubeCtl item list, select KubeCtl Shell to launch the shell instance.

Last updated

Was this helpful?