Kubectl setup for administrators
Accessing Kubectl on your local computer with the Administrator role
As an Administrator, you can access
kubectl
on a local computer to a Kubernetes cluster with cluster-admin
privileges to download and run kubeconfig
.- 1.In the DuploCloud Portal, navigate to Administrators -> Infrastructure.
- 2.In the Name column, select the Infrastructure in which you want to set up
kubectl
. - 3.Click the EKS (for AWS) tab, GKE (for GCP) tab, or the AKS (for Azure) tab.
- 4.Click Download Kube Config to download the
kubeconfig
file.

EKS tab with Download Kube Config button
- 1.
- 2.Run these commands to enable
kubectl
to use the downloadedkubeconfig
.
- For Linux or macOS:
export KUBECONFIG=/home/duplo/duploinfra-INFRASTRUCTURE_NAME.yaml # INFRASTRUCTURE_NAME is your DuploCloud Infrastructure name.
- For Windows:
setx KUBECONFIG "%USERPROFILE%\Downloads\duploinfra-INFRASTRUCTURE_NAME.yaml" # INFRASTRUCTURE_NAME is your DuploCloud Infrastructure name.
Last modified 1mo ago