Difference between revisions of "Kubectl on wsl ubuntu for aks"
Jump to navigation
Jump to search
Line 34: | Line 34: | ||
chmod 700 get_helm.sh | chmod 700 get_helm.sh | ||
./get_helm.sh | ./get_helm.sh | ||
+ | ``` | ||
+ | |||
+ | # Helm Diff | ||
+ | ``` | ||
+ | helm plugin install https://github.com/databus23/helm-diff | ||
``` | ``` |
Latest revision as of 20:22, 24 May 2023
Use WSL Version 1 due to VPN Issues
wsl --install computer-restart wsl.exe --list --online wsl --set-default-version 1 wsl --install -d Ubuntu-22.04 wsl.exe --setdefault Ubuntu-22.04 bash
Install Azure tools for AKS
sudo apt update && sudo apt -y install unzip curl -LO https://github.com/Azure/kubelogin/releases/download/v0.0.29/kubelogin-linux-amd64.zip unzip kubelogin-linux-amd64.zip sudo cp bin/linux_amd64/kubelogin /usr/local/bin/ curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" chmod +x kubectl sudo mv kubectl /usr/local/bin/
Helm
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 chmod 700 get_helm.sh ./get_helm.sh
Helm Diff
helm plugin install https://github.com/databus23/helm-diff