Bastion Host Setup
The following packages must be installed on the bastion host or the host/tool from where the installation is triggered
Azure CLI
To set up the Azure CLI refer to Install the Azure CLI on Linux on the Microsoft documentation website.
Execute the following
command:
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bashKubectl
To set up Kubectl refer to Install and Set Up kubectl on Linux on the Microsoft documentation website.
Execute the following commands
-
sudo curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" -
sudo chmod +x kubectl -
sudo mv ./kubectl /usr/bin/#
Verify installation by executing the
command
kubectl versionHelm
Helm is required only if the deployment is triggered from any other machine instead of the DevOps pipeline. To set up Helm refer to Installing Helm on the Helm documentation website.
Execute the following command:
-
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#
Verify installation by executing the command
helm version