Creating a Kubernetes Cluster with Jenkins X and Importing App

This lesson provides the link to gists that you can use to create a Kubernetes cluster with Jenkins X. Moreover, it also gives some steps to follow before we continue with the chapter.

You know what comes next. We need a cluster with Jenkins X up-and-running unless you kept the one from before.

🔍 All the commands from this chapter are available in the 06-env.sh Gist.

Create a new cluster and install Jenkins X#

For your convenience, the Gists from the previous chapter are available below as well.

GKE#

Create a new serverless GKE cluster: gke-jx-serverless.sh

svg viewer

EKS#

Create a new serverless EKS cluster: eks-jx-serverless.sh

svg viewer

AKS#

Create a new serverless AKS cluster: aks-jx-serverless.sh

svg viewer

Install Jenkins X in an existing serverless cluster#

Use an existing serverless cluster: install-serverless.sh

Before we get started#

We’ll continue using the go-demo-6 application. Please enter the local copy of the repository, unless you’re already there.

🔍 The commands that follow will reset your master branch with the contents of the buildpack branch that contains all the changes from the previous chapter. Please execute them only if you are unsure whether you did all the exercises correctly.

If you restored the branch, the chances are that there is a reference to my user (vfarcic). We’ll change that to Google project since that’s what is the expected location of container images.

⚠️ Please execute the commands that follow only if you restored a branch at the beginning of a chapter (like in the snippet above). Please note the comments within the snipper that follows.

🔍 If you destroyed the cluster at the end of the previous chapter, we’ll need to import the go-demo-6 application again. Please execute the commands that follow only if you created a new cluster specifically for the exercises from this chapter.

Please wait until the activity of the application shows that all the steps were executed successfully, and stop the watcher by pressing ctrl+c.


Now we can explore GitOps through Jenkins X environments.

Ten Commandments of GitOps Applied to Continuous Delivery
Exploring Jenkins X Environments
Mark as Completed
Report an Issue