Book Image

The DevOps 2.4 Toolkit

By : Viktor Farcic
Book Image

The DevOps 2.4 Toolkit

By: Viktor Farcic

Overview of this book

Building on The DevOps 2.3 Toolkit: Kubernetes, Viktor Farcic brings his latest exploration of the Docker technology as he records his journey to continuously deploying applications with Jenkins into a Kubernetes cluster. The DevOps 2.4 Toolkit: Continuously Deploying Applications with Jenkins to a Kubernetes Cluster is the latest book in Viktor Farcic’s series that helps you build a full DevOps Toolkit. This book guides readers through the process of building, testing, and deploying applications through fully automated pipelines. Within this book, Viktor will cover a wide-range of emerging topics, including an exploration of continuous delivery and deployment in Kubernetes using Jenkins. It also shows readers how to perform continuous integration inside these clusters, and discusses the distribution of Kubernetes applications, as well as installing and setting up Jenkins. Work with Viktor and dive into the creation of self-adaptive and self-healing systems within Docker.
Table of Contents (12 chapters)
9
Now It Is Your Turn

Creating a cluster

We'll start the practical section of the chapter by going to the vfarcic/k8s-specs repository and by making sure that we have the latest revision.

All the commands from this chapter are available in the 07-jenkins-cdp.sh (https://gist.github.com/vfarcic/d0cbca319360eb000098383a09fd65f7) Gist.
 1  cd k8s-specs
2 3 git pull

Next, we'll merge your go-demo-3 fork with the upstream. If you forgot the commands, they are available in the go-demo-3-merge.sh (https://gist.github.com/vfarcic/171172b69bb75903016f0676a8fe9388) gist.

It is imperative that you change all the references of vfarcic/go-demo-3 to the address of the image in your Docker Hub account. If, for example, your hub user is jdoe, you should change all vfarcic/go-demo-3 references to jdoe/go-demo-3. Even though I invite you to apply the modifications to all the files of the repository, the...