jenkins-operator
A Helm chart for Kubernetes Jenkins Operator
About this chart
Jenkins Operator
jenkins-operator simplifies Jenkins configuration and management.
DISCLAIMER: This application and chart are alpha quality. Proceed with care.
Introduction
The jenkins operator manages Jenkins instances deployed to Kubernetes and automates tasks related to operating a Jenkins server
- Create and Destroy instances
- Create and Destroy Jobs and Credentials
For more information on using the operator please see the documentation.
Prerequisites
- Kubernetes 1.9+
- Jenkins 2.1+
Installing the Chart
To install the chart with the release name jenkins-operator checkout this repository and run the following command from the root of it:
$ helm install deployments/helm/jenkins-operator --name jenkins-operator
$ helm install deployments/helm/jenkins-operator --name jenkins-operator
Uninstalling the Chart
To uninstall/delete the jenkins-operator deployment:
$ helm delete jenkins-operator
Configuration
The following table lists the configurable parameters of the jenkins-operator chart and their default values.
| Parameter | Description | Default |
|---|---|---|
replicaCount | Number of operator replicas to create | 1 |
image.repository | Operator container image, including version | quay.io/samsung_cnct/jenkins-operator |
image.tag | Operator container image tag | 0.1.7 |
image.pullPolicy | Operator container image pull policy | IfNotPresent |
nameOverride | Override the app name | |
fullnameOverride | Override the app full name | |
keepCRDs | If Helm should skip deleting CRDs when the operator is deleted | false |
rbac | Install required RBAC service account, roles and rolebindings | true |
chartCrds | If the CRDs should be installed from chart templates | true |
args | Arguments passed to the operator binary | --alsologtostderr --install-crds=false |
resources.cpu | CPU limit per jenkins-operator pod | |
resources.memory | Memory limit per jenkins-operator pod | |
nodeSelector | Node labels for jenkins-operator pod assignment | {} |
tolerations | Tolerations for pod assignment | [] |
affinity | Affinity settings for pod assignment | {} |
Deploy jenkins-operator with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has jenkins-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartjenkins-operator is pinned at v0.1.12 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply