Bastion Host Setup

The following packages must be installed on the bastion host or the host/tool (Azure DevOps) from where the installation is triggered

GCP CLI

To set up the GCP CLI refer to Install the gcloud CLI on the Google documentation website.

Kubectl

To set up Kubectl refer to Install and Set Up kubectl on Linux on the Kubernetes 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 version

Helm

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