Creating a Google cluster
To create a Google cluster you can either do so with the
Google Cloud Console,
gcloud or the Google Cloud Shell,
be aware though that the smallest possible machine
to host Jenkins X is the
Furthermore, to be able to use
jx storage features like log storage or backups,
your cluster needs additional permissions, see GKE Storage Permissions.
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:
Using the JX command line
If you have the JX command line setup locally, you can run
jx create cluster gke --skip-installation to create a GKE cluster from there with defaults.
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.