This directory contains a Kubernetes chart to deploy a Quantum Leap cluster using Deployment.
- Kubernetes 1.9+
- Complete README
This chart will do the following:
- Implement a HA scalable Quantum Leap cluster using a Kubernetes Deployment.
To install the chart with the release name my-release
:
$ helm repo add oc https://orchestracities.github.io/charts/
$ helm dependency update
$ helm install --name my-release oc/quantumleap
The following table lists the configurable parameters of the patroni chart and their default values.
Parameter | Description | Default |
---|---|---|
replicaCount |
Amount of pods to spawn | 3 |
image.repository |
The image to pull | smartsdk/quantumleap |
image.tag |
The version of the image to pull | 0.4.1 |
image.pullPolicy |
The pull policy | IfNotPresent |
resources |
Any resources you wish to assign to the pod | {} |
init |
Init section enable init image to configure | password: password |
TimescaleDB (option not required using only | image: |
|
CrateDB) | repository: smartsdk/quantumleap-pg-init |
|
tag: latest |
||
pullPolicy: IfNotPresent |
||
resources: {} |
||
database |
Section to configure details for | crate: |
TimescaleDB and CrateDB) | host: crate |
|
defaultdb: default |
||
timescale: |
||
host: timescale |
||
port: 5432 |
||
name: quantumleap |
||
user: quantumleap |
||
password: quantumleap |
||
config |
Section to configure db support per tenant | tenants: |
t1: |
||
backend: Timescale |
||
t2: |
||
backend: Crate |
||
default-backend: Crate |
Specify each parameter using the --set key=value[,key=value]
argument to helm install
.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
$ helm install --name my-release -f values.yaml oc/quantumleap
Tip: You can use the default values.yaml
To remove the spawned pods you can run a simple helm delete <release-name>
.