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
kubectl TokenConnect directly to your Kubernetes cluster namespace using a kubectl token. This facilitates direct interaction with your Kubernetes cluster through a command-line interface.
If you attempt to start a kubectl shell instance and receive a 503 in your web browser, ensure that the Duplo-shell Service in the Default Tenant and the Hosts that support it are running.
In the DuploCloud Portal, navigate to Kubernetes -> Services.
From the KubeCtl list box, select KubeCtl Token. The Token window displays. Copy the contents to your clipboard.


kubectl Token window in the DuploCloud PortalDownloading a kubectl Token for Non-Administrators
kubectl Token for Non-AdministratorsIf 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.
In the DuploCloud Portal, navigate to Kubernetes -> Services. The Services page displays.
Select the Service name from the Name column.
From the KubeCtl item list, select KubeCtl Token. The KubeCtl Token window displays.

The Token window Click Copy to copy the
kubectlcommands in the Token window to your clipboard.From the KubeCtl item list, select KubeCtl Shell to launch the shell instance.
Last updated
Was this helpful?

