Auto Rolling-update in K8s using Dynamic Jenkins Cluster.

Preface

What is jenkins?

What is jenkins slave?

Problem statement:

Task3 link — https://medium.com/@abhishek.sharma58585/integration-of-github-jenkins-over-kubernetes-task3-278db3fb68a

Steps to proceed as:

Here we start..

Docker file for creating the httpd image..

Now time for creating the jobs in jenkins…

JOB1: Here we will download our files from github and build docker image from dockerfile then upload that docker image on dockerhub.

JOB2: Here we will be doing connecting with windows slave and run kubectl commands there for this job we will be specifically using our slave node(I used k8s as a label for this node can be seen in above configuration image of the slave node)

This is the pipeline view of this jobs.

Here my task is completed

Thank you for reading…..