Kubectl access for non-administrators
Accessing kubectl without administrator privileges
If you don't have administrator privileges, use this procedure to access
kubeconfigis 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,
kubeconfigis saved in the
$HOME/directory in the Linux operating system.
Add the following code to your AWS profile:
[profile NAME] # Supply your AWS profile name
credential_process=duplo-aws-credential-process --tenant YOUR_TENANT --host --interactive
The token that you download is for the selected Tenant only. It is intended for use with a non-human DuploCloud service account.
- 1.In the DuploCloud Portal, navigate to DevOps -> Containers -> EKS/Native.
- 2.Click the Services tab. The Services page displays.
- 3.Select the Service from the Name column.
- 4.Click KubeCtl Token. The Token window displays.
- 5.Click Copy to copy the
kubectlcommands in the Token window to your clipboard.
- 6.On the Services tab, click KubeCtl Shell to launch the shell instance. Paste the copied commands into the shell and run them.