Creating a Kubernetes Cluster with Jenkins X

This lesson provides the link to gists that you can use to create a Kubernetes cluster with Jenkins X.

Choosing a Kubernetes flavor

Jenkins X runs on almost any Kubernetes cluster, so I’ll let you choose whether you want to use one you already have or create a new one. As long as Jenkins X is running and is accessible, you should be good to go.

🔍 All the commands from this chapter are available in the 03-quickstart.sh Gist.

Create a new cluster and install Jenkins X

For your convenience, I have created a few gists that you can use. Feel free to use them as they are, adapt them to your own needs, or skip them altogether and create your cluster and install Jenkins X on your own.

⚠️ The gists that follow use -b to run in the batch mode and they assume that this is not the first time you have created a cluster with jx. If that’s not the case and this is indeed the first time you’re creating a jx cluster, it will not have some of the default values like GitHub users, and the installation might fail.

⚠️ Make sure to remove -b from the jx create cluster command inside the gists if this is NOT the first time you’re creating a cluster with jx.

GKE

Get hands-on with 1200+ tech skills courses.