Install system#
You need a system from which you can run the installation process. This system needs the following software installed:
You can install these tools using the linked instructions or by using the instructions for your particular operating system that follow.
macOS#
Install kubectl and Helm:
brew install kubectl helm
Linux#
=== “Ubuntu”
Note
These instructions are for Ubuntu 16.04 or newer, as they assume Snap support is available by default.
sudo snap install helm --classic
sudo snap install kubectl --classic
=== “Red Hat”
Install 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/
kubectl version --client
Install Helm:
curl -LO https://get.helm.sh/helm-v3.12.3-linux-amd64.tar.gz
tar -xvf helm-v3.12.3-linux-amd64.tar.gz
sudo mv linux-amd64/helm /usr/local/bin/helm
helm version
=== “Debian”
sudo apt update
sudo apt install snapd
sudo snap install snapd
sudo snap install kubectl --classic
Windows#
=== “Winget”
winget install kubectl --source winget
winget search helm
winget install helm
=== “Manually”
Install kubectl .
Install Installing Helm .
Installing Helm#
Download the Helm binary for Windows. On the Helm GitHub Releases page , locate the latest release and download the helm-v3.x.x-windows-amd64.zip file.
Extract the Zip file. Use a tool like 7-Zip, WinRAR, or the built-in Windows extraction utility to unzip the downloaded file.
Copy
helm.exefrom the extracted folder to a directory in your path. Common directories includeC:\Program Files\,C:\Program Files (x86)\, or you can create a directory, such asC:\Helm\, and add it to your path.Verify the installation:
Open a new Command Prompt or PowerShell window.
Run the following command to verify that Helm is installed correctly:
helm version
The output displays Helm version information.
Next steps#
Once you have installed the necessary software, you can move on to setting up an GCP account with the necessary permissions.