provisioner
by Conduktor
Helm chart to run Conduktor CLI provisioning on Conduktor Plaform
About this chart
Conduktor Provisioner
If you have any questions you can submit feedback or contact support.
- Introduction
- Prerequisites
- Usage
- Limitations
- Parameters
- Global parameters
- Common parameters
- conduktor-ctl Parameters
- Init wait-for script configuration
- Conduktor Console provisioning configuration
- Conduktor Gateway provisioning configuration
- Other Parameters
- Examples values
- Provision Console
- Provision Gateway
- Provision Console and Gateway
- Use secrets and configmaps for configuration
- Provide manifests from a ConfigMap
- Using different CLI commands
- Using CronJob to run the provisioner
- Troubleshooting
Introduction
Helm Chart to deploy Conduktor Provisioner on Kubernetes that will provision existing Conduktor products.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- Conduktor Console 1.23.0+ (depending on the resources, check documentation for more details)
- Conduktor Gateway 3.1.0+ (depending on the resources, check documentation for more details)
Usage
# Add the Conduktor Helm repository
helm repo add conduktor https://helm.conduktor.io
# Install Conduktor Console
helm upgrade --install platform conduktor/console \
--create-namespace -n conduktor \
--set config.admin.email="[email protected]" \
--set config.admin.password="admin123!" \
--set config.database.password="postgres" \
--set config.database.username="postgres" \
--set config.database.host="postgresql" \
--set config.database.name="postgres" \
--set config.license="${LICENSE}"
# Push Conduktor CLI compatible YAML manifests files into a ConfigMap. See https://github.com/conduktor/ctl
kubectl create configmap setup-manifests --from-file=./manifests/console-setup.yaml -n conduktor
# Use Provisioner chart to provision Console
helm upgrade --install setup conduktor/provisioner \
-n conduktor \
--set console.enabled=true \
--set console.url="http://console.conduktor" \
--set console.username="[email protected]" \
--set console.password="admin123!" \
--set console.extraManifestsConfigMapRef[0].name="setup-manifests" \
--set console.extraManifestsConfigMapRef[0].key="console-setup.yaml"
More examples can be found in the Examples values section.
Limitations
As a job using Conduktor CLI, the provisioner Job will not be delete by default on helm uninstall. Use cleanupAfterFinished.enabled: true to cleanup after job finished or manually delete it.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.security.allowInsecureImages | Allows skipping image verification | false |
global.compatibility.openshift.adaptSecurityContext | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | auto |
global.compatibility.omitEmptySeLinuxOptions | If set to true, removes the seLinuxOptions from the securityContexts when it is set to an empty object | false |
Common parameters
Configuration provisioning job and other common parameters.
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override common.names.name | "" |
fullnameOverride | String to fully override common.names.fullname | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
useHooks | Enable Helm hooks for the conduktor-provisioner Job and CronJob. | true |
clusterDomain | Kubernetes cluster domain name | cluster.local |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the chart release | ["sleep"] |
diagnosticMode.args | Args to override all containers in the chart release | ["infinity"] |
conduktor-ctl Parameters
Configuration of the conduktor-ctl image used to run the Conduktor CLI commands.
| Name | Description | Value |
|---|---|---|
image.registry | conduktor-ctl image registry | docker.io |
image.repository | conduktor-ctl image repository | conduktor/conduktor-ctl |
image.tag | conduktor-ctl image tag (immutable tags are recommended) | v0.9.2 |
image.digest | conduktor-ctl image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended) | "" |
image.pullPolicy | conduktor-ctl image pull policy | IfNotPresent |
image.pullSecrets | conduktor-ctl image pull secrets | [] |
image.debug | Enable conduktor-ctl image debug mode | false |
cronJob.enabled | Configure conduktor-provisioner job as a CronJob | false |
cronJob.schedule | Schedule for the CronJob, by default empty string (no schedule) | "" |
cronJob.timezone | Timezone for the CronJob, by default empty string (no timezone) | "" |
cronJob.concurrencyPolicy | Concurrency policy for the CronJob, by default "Replace" | Replace |
cronJob.suspend | Suspend the CronJob, by default false (not suspended) | false |
cronJob.successfulJobsHistoryLimit | Number of successful jobs to keep in history | 3 |
cronJob.failedJobsHistoryLimit | Number of failed jobs to keep in history | 1 |
cleanupAfterFinished.enabled | Enable cleanup of Job after it's finished | false |
cleanupAfterFinished.seconds | TTL to cleanup the Job after it's finished | 600 |
restartPolicy | Restart policy for conduktor-provisioner jobs | OnFailure |
backoffLimit | Number of retries before the job is considered failed | 10 |
podSecurityContext | conduktor-provisioner Pod Security Context | {} |
podLabels | Extra labels for conduktor-provisioner pods | {} |
podAnnotations | Annotations for conduktor-provisioner pods | {} |
podAffinityPreset | Pod affinity preset. Ignored if affinity is set. Allowed values: soft or hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
Deploy provisioner with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has provisioner 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 chartprovisioner is pinned at v0.3.0 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