concourse
by [riftbit]
Concourse is a pipeline-based continuous thing-doer.
About this chart
Concourse
Concourse is an automation system written in Go. It is most commonly used for CI/CD, and is built to scale to any kind of automation pipeline, from simple to complex.
TL;DR
$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/concourse
Introduction
This chart bootstraps a Concourse deployment on a Kubernetes cluster using the Helm package manager.
It also packages Bitnami Postgresql
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.12+
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
helm install my-release bitnami/concourse
The command deploys concourse on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Override Kubernetes version | "" |
nameOverride | String to partially override common.names.fullname | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
Common Concourse Parameters
| Name | Description | Value |
|---|---|---|
image.registry | image registry | docker.io |
image.repository | image repository | bitnami/concourse |
image.tag | image tag (immutable tags are recommended) | 7.5.0-debian-10-r0 |
image.pullPolicy | image pull policy | IfNotPresent |
image.pullSecrets | image pull secrets | [] |
secrets.localAuth.enabled | the use of local authentication (basic auth). | true |
secrets.teamAuthorizedKeys | Array of team names and public keys for team external workers. A single | [] |
secrets.localUsers | List of username:password or username:bcrypted_password combinations for all your local concourse users. Auto-generated if not set | "" |
secrets.hostKey | Concourse Host Keys. | "" |
secrets.hostKeyPub | Concourse Host Keys. | "" |
secrets.sessionSigningKey | Concourse Session Signing Keys. | "" |
secrets.workerKey | Concourse Worker Keys. | "" |
secrets.workerKeyPub | Concourse Worker Keys. | "" |
secrets.workerAdditionalCerts | Additional certificates to add to the worker nodes | "" |
Concourse Web parameters
| Name | Description | Value |
|---|---|---|
web.enabled | Enable web | true |
web.replicaCount | Number of web replicas to deploy | 1 |
web.args | Override default args of the startup command for the web component. | [] |
web.baseUrl | url | / |
web.logLevel | Minimum level of logs to see. Possible options: debug, info, error. | debug |
web.clusterName | A name for this Concourse cluster, to be displayed on the dashboard page. | "" |
web.bindIp | IP address on which to listen for HTTP traffic (web UI and API). | 0.0.0.0 |
web.containerPort | Port on which to listen for HTTP traffic (web UI and API). | 8080 |
web.peerAddress | Network address of this web node, reachable by other web nodes. | "" |
web.externalUrl | URL used to reach any ATC from the outside world. | "" |
web.enableAcrossStep | Enable the experimental across step to be used in jobs. The API is subject to change. | false |
web.enablePipelineInstances | Enable the creation of instanced pipelines. | false |
web.enableCacheStreamedVolumes | Enable caching streamed resource volumes on the destination worker. | false |
web.livenessProbe.enabled | Enable livenessProbe on web nodes | true |
web.livenessProbe.initialDelaySeconds | Initial delay seconds for livenessProbe | 10 |
web.livenessProbe.periodSeconds | Period seconds for livenessProbe | 15 |
web.livenessProbe.timeoutSeconds | Timeout seconds for livenessProbe | 3 |
web.livenessProbe.failureThreshold | Failure threshold for livenessProbe | 1 |
web.livenessProbe.successThreshold | Success threshold for livenessProbe | 1 |
web.readinessProbe.enabled | Enable readinessProbe | true |
web.readinessProbe.initialDelaySeconds | Initial delay seconds for readinessProbe | 10 |
web.readinessProbe.periodSeconds | Period seconds for readinessProbe | 15 |
web.readinessProbe.timeoutSeconds | Timeout seconds for readinessProbe | 3 |
web.readinessProbe.failureThreshold | Failure threshold for readinessProbe | 1 |
web.readinessProbe.successThreshold | Success threshold for readinessProbe | 1 |
web.customLivenessProbe | Custom livenessProbe that overrides the default one | {} |
web.customReadinessProbe | Custom readinessProbe that overrides the default one | {} |
web.resources.limits | The resources limits for the web containers | {} |
web.resources.requests | The requested for the web containers | {} |
web.rbac.create | Specifies whether RBAC resources should be created | true |
web.serviceAccount.create | Specifies whether a ServiceAccount should be created | true |
web.serviceAccount.name | Override Web service account name | "" |
web.tls.enabled | enable serving HTTPS traffic directly through the web component. | false |
web.tls.containerPort | on which to listen for HTTPS traffic. | 443 |
web.existingConfigmap | The name of an existing ConfigMap with your custom configuration for web | "" |
web.command | Override default container command (useful when using custom images) | [] |
web.hostAliases | Deployment pod host aliases | [] |
web.podLabels | Extra labels for web pods | {} |
web.podSecurityContext.enabled | Enabled web pods' Security Context | true |
web.podSecurityContext.fsGroup | Set web pod's Security Context fsGroup | 1001 |
web.containerSecurityContext.enabled | Enabled web containers' Security Context | true |
web.containerSecurityContext.runAsUser | Set web containers' Security Context runAsUser | 1001 |
web.psp.create | Specifies whether a PodSecurityPolicy should be created (set psp.create to true to enable it) | false |
web.tsa.logLevel | Minimum level of logs to see. Possible values: debug, info, error. | debug |
web.tsa.bindIp | IP address on which to listen for SSH. | 0.0.0.0 |
web.tsa.containerPort | Port on which to listen for SSH. | 2222 |
web.tsa.debugbindIp | IP address on which to listen for the pprof debugger endpoints (default: 127.0.0.1) | 127.0.0.1 |
web.tsa.debugContainerPort | Port on which to listen for TSA pprof server. |
Deploy concourse with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has concourse 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 chartconcourse is pinned at v0.1.6 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