TECH BASICS, CODEX
Jenkins on Kubernetes: Part-1
In this post, I am going to cover very basic steps to deploy Jenkins on the Kubernetes cluster which I have built using kubeadm. The k8s cluster will host Jenkins and agents to run pipelines. I assume you have good understanding of Kubernetes and Jenkins concepts. A working Kubernetes cluster and kubectl is required to perform all steps.
Kubernetes
is an open-source container orchestrator. It is a container-centric application that has become the de facto standard to deploy and operate containerized applications. Modern applications are increasingly built using containers and leveraging the power of K8s’s seamless deployment processes.
Jenkins
is the most popular open-source automation server. Easy set-up and deployment make it one of the most powerful tools present in the market which can support the entire software delivery pipeline. It has two primary components which are -
- Master Node
- Worker Node
When you need to set up a continuous delivery (CI/CD) pipeline, deploying Jenkins on Kubernetes can give flexibility in terms of build agents, scaling, agility and resource usage. Technically you are leveraging…