DSS Helm Chart¶
This Helm Chart deploys the DSS and datastore (CockroachDB or Yugabyte) 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.yamltovalues.dev.yamland edit it. In particular, the keydss.imagemust be set manually. Seevalues.schema.jsonfor schema definition. The root keycockroachdbsupports all values supported by thecockroachdbChart). 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=dssIt 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 .