Prerequisites
Prerequisites for installing ale on a GKE cluster.
Note
- This guide is based on Kubernetes v1.30.
Install Tools
For Windows, it is recommended to install WSL2 and use ale in a Linux environment. Refer to this guide to install WSL2 first.
Set Up Google Cloud Account
Initialize gcloud CLI
Run the following command to register the Google account, region, and zone.
At the prompt, enter the number corresponding to `Sign in with a new Google Account` to log in to your Google account. If you are already logged in, enter the number corresponding to the account you want to use.
Google Cloud allocates and uses resources on a per-project basis. Enter the number corresponding to `Create a new project` to create a new project. If you want to use an existing project, enter the number corresponding to that project.
At the prompt asking if you want to configure a default Compute Region and Zone, enter `y` and then enter the number corresponding to the region/zone you want to set as default.
If you see the following message, the setup is complete.
Environment Variables
Set the project ID, region, cluster name, and zone where the nodes will be located as environment variables.
gcloud Account and Project
Run the following command to log in to your Google account.
A browser will automatically open, displaying the Google account login page.
Once you complete the login process in the browser, you will see a confirmation message in the terminal.
Next, set the project by running the following command.