To create a cluster using the Cluster Toolkit, you can use either Cloud Shell, or a workstation that is running Linux or macOS.
If you want to work from a Linux or macOS client or workstation, complete the following steps.
Linux
- Install the Google Cloud CLI, see Installing the gcloud CLI .
- Install Terraform version 1.5.7 or later. For instructions, see Download Terraform .
- Install Packer version 1.7.9 or later. For instructions, see Download Packer .
-
Install a supported Go release . For install instructions, see Download and install Go .
Also set up a
GOPATHby running the following command:export PATH=$PATH:$(go env GOPATH)/bin
-
Install Git. For instructions, see Install Git .
-
Check that a Python 3 release of
pipis installed by runningpip3. Ifpip3is not available, review the Python documentation . -
Install Make.
CentOS/RHEL
yum install -y make
Debian/Ubuntu
apt-get -y install make
macOS
- Install the Google Cloud CLI, see Installing the gcloud CLI .
- Install Terraform version 1.5.7 or later. For instructions, see Download Terraform .
- Install Packer version 1.7.9 or later. For instructions, see Download Packer .
-
Install a supported Go release . For install instructions, see Download and install Go .
Also set up a
GOPATHby running the following command:export PATH=$PATH:$(go env GOPATH)/bin
-
Install Git. For instructions, see Install Git .
-
Check that a Python 3 release of
pipis installed by runningpip3. Ifpip3is not available, download and install the package. -
Install Make. On macOS,
makeis packaged with the Xcode command line developer tools. To install Xcode, run the following command:xcode-select --install
What's next
- Set up Cluster Toolkit .
- Review Cluster deployment overview .

