Using the Google Cloud Console
You can create Kubernetes clusters in a few clicks on the Google Cloud Console
First make sure you have created/selected a Project:
The CLI tool for working with google cloud is called
gcloud. If you have not done so already please install gcloud
To create a cluster with gcloud follow these instructions
Using Google Cloud Shell
To avoid having to install
gcloud you can use the Google Cloud Shell as it already comes with most of the things you may need to install (
git, gcloud, kubectl etc).
First you need to open the Google Cloud Shell via the button in the toolbar:
You can then create a cluster with
gcloud by following these instructions
Connecting to your cluster
Once you have created a cluster, you need to connect to it so you can access it via the
kubectl or jx command line tools.
You should now be able to use the
jx CLI tools on your laptop to talk to the GKE cluster. e.g. this command should list the nodes in your cluster:
kubectl get node
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.