datacube-processing

by Open Data Cube

Helm chartv0.1.1App 1.0Verified publisher

A Helm chart for datacube processing

About this chart

Datacube Processing

Datacube Processing Pipeline

About

When new data is loaded into the S3 bucket an item is logged into your SQS Queue, Every few minutes (configurable) a CronJob will check the queue, If it has messages, they will be filtered and processed. A Job will keep running until the queue is empty or it fails. If the SQS Queue has lots of messages eventually the Cron Job will add more Jobs to process them faster. When the Queue is empty all Jobs will complete. If a Job fails, it will be returned to the queue after (job.maxJobTime) is passed, so other workers can process it.

Example Config

This example works on docker for mac, with a pre-indexed postgres database hosted on the host machine


Adjust these variables for your environment

$ helm install ./datacube-wms --values config.yaml

Introduction

This chart creates a Datacube WMS processing worker pool on a Kubernetes cluster using the Helm package manager.

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release -f config.yaml stable/datacube-wms 

The command deploys WMS on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release. It will also remove the database as part of the installation.

Deploy datacube-processing with OpenTenant

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