Skip to content

Commit afcdf10

Browse files
authored
Update setup.md
1 parent b4c7342 commit afcdf10

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/Infra/setup.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,20 @@ This tutorial assumes your account has the right permissions to access the infra
1616

1717
- Run ```az login``` to login.
1818

19+
- Run ```sudo az aks install-cli``` to install kubectl
20+
1921
- Run ```az aks get-credentials --resource-group rg-polinetwork --name aks-polinetwork``` to configure Kubectl.
2022

23+
- Run ```kubelogin convert-kubeconfig``` if you have installed Kubectl > v1.26
24+
2125
- To check if everything is working, run ```kubectl get pods -n <namespace>```. You should see a list of pods.
2226

2327
:::info
2428
The possible values of ```<namespace>``` may vary depending on the project you're working on. If you're not sure, ask the team.
2529
:::
2630

2731
:::danger
28-
Starting from Kubectl v1.26, the Azure auth plugin has been removed. If you're using a new version, you'll need to install Kubectl and Kubelogin by running ```sudo az aks install-cli```. Then run ```kubectl get pods -n <namespace>``` again.
32+
Starting from Kubectl v1.26, the Azure auth plugin has been removed. If you're using a new version, you'll need to install Kubectl and Kubelogin. Then run ```kubectl get pods -n <namespace>``` again.
2933

3034
For now as there is no install instruction on the kubelogin repo for linux, download the latest release for your computer architecture from [here](https://github.com/Azure/kubelogin/releases), unzip it and run it with `./kubelogin convert-kubeconfig`. Follow the indicated steps
3135
:::

0 commit comments

Comments
 (0)