Deploy Jenkins from a Helm chart
Learn how to deploy Jenkins from the Bitnami Helm chart. After you deploy Jenkins on your cluster, you can register the application with Astra Control.
Jenkins is a validated app for Astra Control.
These instructions apply to both Astra Control Service and Astra Control Center.
|Applications deployed from Google Marketplace have not been validated. Some users report issues with discovery and/or backup with Google Marketplace deployments of Postgres, MariaDB, and MySQL.|
A cluster that has been added to Astra Control.
For Astra Control Center, you can add the cluster to Astra Control Center first or add the app first.
Updated versions of Helm (version 3.2+) and Kubectl installed on a local machine with the proper kubeconfig for the cluster
Astra Control does not currently support the Kubernetes plugin for Jenkins. You can run Jenkins in a Kubernetes cluster without the plugin. The plugin provides scalability to your Jenkins cluster.
Two important notes on this process:
You must deploy your app after the cluster is added to Astra Control Service, not before. Astra Control Center will accept applications before or after the cluster is added to Astra Control Center.
You must deploy the Helm chart in a namespace other than the default.
Add the Bitnami chart repo:
helm repo add bitnami https://charts.bitnami.com/bitnami
jenkinsnamespace and deploy Jenkins into it with the command:
Helm install <name> --namespace <namespace> --create-namespace -–set persistence.storageClass=<storage_class>
If the volume size is changed, use Kibibyte (Ki), Mebibyte (Mi) or Gibibyte (Gi) units.
You need to define the storage class only in these situations:
You are using Astra Control Service and you don’t want to use the default storage class.
You are using Astra Control Center and haven’t yet imported the cluster into Astra Control Center. Or, you have imported the cluster, but don’t want to use the default storage class.
This does the following:
Creates a namespace.
Sets the correct storage class.
After the pods are online, you can manage the app with Astra Control. Astra Control enables you to manage an app at the namespace level or by using a helm label.