Kubectl Token for non-administrators
Access kubectl without administrator privileges
If you don't have administrator privileges, use this procedure to access kubeconfig
using the kubectl
token. kubeconfig
is a YAML file that stores cluster authentication information for kubectl. It contains a list of contexts to which kubectl refers when running commands. By default, kubeconfig
is saved in the $HOME/
directory in the Linux operating system.
Before beginning, refer to this article for more information aboutkubeconfig
.
Updating the AWS Profile (AWS Only)
Add the following code to your AWS profile:
Downloading the kubectl
token
kubectl
tokenThe token that you download is for the selected Tenant only. It is intended for use with a non-human DuploCloud service account.
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. Paste the copied commands into the shell and run them.
Last updated