datacube-dev-env

by Open Data Cube

Helm chartv0.1.1App 1.0Verified publisher

A Helm chart for deploying a development environment to kubernetes

About this chart

Kubernetes Development Environment Helm Template

This helm chart will deploy a Kubernetes development environment deployment, service, and optionally ingress. It will also install postGIS on the target database and grant agdc_admin role to superuser.

ODC Database configuration

Connecting to your ODC Database is done using the database block. A kubernetes secret containing the postgres-username and postgres-password for your database is required. Since postGIS will be installed a secret containing the postgres-username and postgres-password for a user with administrative privileges is also required. This is an example block for connecting to a psql database named 'odc' on localhost:5432:

database:
  create: true # if we need to create a database
  database: odc
  ref_database: ref_odc # Reference database name
  host: localhost
  port: 5432
  existingSecret: odc-secret
  adminSecret: psql-admin

Deploy datacube-dev-env with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has datacube-dev-env 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdatacube-dev-env is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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