Bastion Host Setup
The following packages must be installed on the bastion host or the host/tool (AWS DevOps) from where the installation is triggered
AWS CLI
To set up the AWS CLI refer to Installing or updating the latest version of the AWS CLI on the AWS 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 kubectlmv -
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 versionjq
To set up the jq refer to Download jq on the github.
