jenkins-operator

by joaquinito2051

Helm chartv0.1.12App 0.1.12

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.

ParameterDescriptionDefault
replicaCountNumber of operator replicas to create1
image.repositoryOperator container image, including versionquay.io/samsung_cnct/jenkins-operator
image.tagOperator container image tag0.1.7
image.pullPolicyOperator container image pull policyIfNotPresent
nameOverrideOverride the app name
fullnameOverrideOverride the app full name
keepCRDsIf Helm should skip deleting CRDs when the operator is deletedfalse
rbacInstall required RBAC service account, roles and rolebindingstrue
chartCrdsIf the CRDs should be installed from chart templatestrue
argsArguments passed to the operator binary--alsologtostderr --install-crds=false
resources.cpuCPU limit per jenkins-operator pod
resources.memoryMemory limit per jenkins-operator pod
nodeSelectorNode labels for jenkins-operator pod assignment{}
tolerationsTolerations for pod assignment[]
affinityAffinity 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartjenkins-operator is pinned at v0.1.12 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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