Create a Google Kubernetes Engine (GKE) cluster with jx
In the lesson we will discuss how to create a GKE cluster with jx.
We'll cover the following
GCP project
Everything we do inside a Google Cloud Platform (GCP) is inside a project. That includes GKE clusters. If we are to let jx
create a cluster for us, we need to know the name of the GCP project where we’ll put it. If you do not have a project you’d like to use, please visit the Manage Resources page to create a new one. Make sure to enable billing for that project.
Storing project name in an environment variable
No matter whether you created a new project specifically for Jenkins X or chose to reuse one that you already have, we’ll need to know its name. To simplify the process, we’ll store it in an environment variable.
Please make sure to replace [...]
with the name of the GCP project before executing the command that follows.
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy