Enable Kubectl Shell for AKS
Configure the kubectl shell for for DuploCloud-managed AKS deployments
Step 1. Create a DuploCloud Service
From the Tenant list box, select the correct Tenant.
Navigate to Kubernetes -> Services.
Click Add. The Add Service page displays.
Enter the values in the table below in the fields on the Add Service page. Accept default values for fields not specified.
Add Service page field | Value |
---|---|
Name |
|
Cloud |
|
Platform |
|
Docker Image |
|
Step 2: Create a Load Balancer
From the DuploCloud Portal, navigate to Kubernetes -> Services.
From the NAME column, select the kubectl service you created in the previous step.
Select the Load Balancers tab, and click Configure Load Balancer.
Select type Cluster IP.
Set external and container ports to 80.
In the Health Check field, enter
/duplo_auth
.In the Backend Protocol field, select TCP.
Click Add.
Step 3: Add an Ingress
In the DuploCloud Portal, navigate to Kubernetes -> Ingress, and click Add.
In the Name field, enter
kubect-shell
. Add a Path that defaults all traffic to the kubectl Service we created in the previous step:
Step 4: Add the DNS Name to System Settings
Navigate to Administrator -> Systems Settings.
Select the System Config tab, and click Add. The Add Config pane displays.
From the Config Type list box, select AppConfig.
From the Key list box, select Other.
In the second Key field, enter DuploShellfqdn
In the Value field, paste the Ingress DNS name.
Click Submit.
kubectl
shell access is enabled.
Last updated