DSS Helm Chart¶
This Helm Chart deploys the DSS and cockroachdb kubernetes resources.
Requirements¶
- A Kubernetes cluster should be running and you should be properly authenticated. Requirements and instructions to create a new Kubernetes cluster can be found here.
- Create the certificates and apply them to the cluster using the instructions of section 6 and 7
- Install Helm version 3.11.3 or higher
Usage¶
- Copy
values.example.yaml
tovalues.dev.yaml
and edit it. In particular, the keydss.image
must be set manually. Seevalues.schema.json
for schema definition. The root keycockroachdb
supports all values supported by thecockroachdb
Chart). Note that values.yaml contains the default values and are always passed to helm. - Validate the configuration:
helm lint -f values.dev.yaml .
- Set a RELEASE_NAME to
dss
:export RELEASE_NAME=dss
It is temporarily the only release name possible. - Set the kube client context of your system, example:
export KUBE_CONTEXT=gke_interuss-deploy-example_europe-west6-a_dss-dev-w6
- Run
helm dep update --kube-context=$KUBE_CONTEXT
- Install the chart:
helm install --kube-context=$KUBE_CONTEXT -f values.dev.yaml $RELEASE_NAME .
Update the chart¶
When changing the values in values.dev.yaml, values.yaml, the templates or upgrading the helm chart dependencies, changes can be applied to the cluster using the following command:
- Run
helm upgrade --kube-context=$KUBE_CONTEXT -f values.dev.yaml $RELEASE_NAME .