You can configure both Cloud SDK for Windows and for Linux/macOS, by using the following steps:
- Launch Google Cloud SDK Shell (Windows) or open a Terminal (Linux/macOS).
- Type gcloud init; it asks you to log on to your Google account. Type y and press return:
You must log in to continue. Would you like to log in (Y/n)? y
- It will open a web browser to navigate to the Google logon page; proceed to log on using your Google Account with the GCP account.
- It asks you whether Cloud SDK can access your Google account information. Click the ALLOW button.
- Back to the Terminal—it asks you which project you want to use. Let's choose the Kubernetes Cookbook project you made:
Pick cloud project to use: [1] my-first-project-194302 ...