Installing Jenkins on Kubernetes for your CI and CD Pipelines sounds like a daunting task until you get to know that you can do that with Helm Charts.
The Helm Chart for Jenkins is available here.
Installation
First you need to specify your overrides in a YAML file. Let’ call it jenkins-values.yaml
. Refer to values.yaml
in the Helm Chart to figure out what can be overridden.
My overrides look like this.
You can use a shell script which looks like this to deploy your Helm Chart. Let’s call this deploy.sh
. Pass two Command Line to override the default Release Name and the Namespace.
Verification
To verify your installation, you can create a Pipeline Projects and run the Pipeline Script below.