Kubectl Tokens and Access Management
Set up kubectl within the DuploCloud Portal by downloading the kubectl token
Last updated
Set up kubectl within the DuploCloud Portal by downloading the kubectl token
Last updated
© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates
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 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.
Click Copy to copy the kubectl
commands in the Token window to your clipboard.
From the KubeCtl item list, select KubeCtl Shell to launch the shell instance.