datacube-ows

by Open Data Cube

Helm chartv0.24.1App 1.9.17Apache-2.0Verified publisher

Datacube Web Map Service

About this chart

datacube-ows

Datacube Web Map Service

Current chart version is 0.24.1

Source code can be found here

Values

KeyTypeDefaultDescription
affinityobject{}
clusterInfo.envNamestring"dev"
database.databasestring"datacube"
database.existingSecretstringnil
database.hoststring"localhost"
database.portint5432
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0]string""
ingress.pathstring"/"
ingress.redirectboolfalse
maxReplicasint2
minReplicasint1
ows.annotationsobject{}
ows.dockerArgs[0]string"gunicorn"
ows.dockerArgs[1]string"-b"
ows.dockerArgs[2]string"0.0.0.0:8000"
ows.dockerArgs[3]string"-w"
ows.dockerArgs[4]string"4"
ows.dockerArgs[5]string"--keep-alive"
ows.dockerArgs[6]string"50"
ows.dockerArgs[7]string"--timeout"
ows.dockerArgs[8]string"120"
ows.dockerArgs[9]string"datacube_ows.wsgi"
ows.enabledbooltrue
ows.externalPortint80
ows.hpa.autoscalingbooltrue
ows.hpa.metricslist[]
ows.image.pullPolicystring"IfNotPresent"
ows.image.registrystring"ghcr.io"
ows.image.repositorystring"opendatacube/ows"
ows.image.tagstring""
ows.internalPortint8000
ows.livenessProbeobject{}
ows.maxSurgestring"25%"
ows.maxUnavailablestring"25%"
ows.readinessProbeobject{}
ows.resources.limits.cpustring"1"
ows.resources.limits.memorystring"2048Mi"
ows.securityContextobject{}
ows.startupProbeobject{}
owsConfig.image.cfg_folderstring"/code/integration_tests/cfg"
owsConfig.image.pullPolicystring"Always"
owsConfig.image.registrystring"ghcr.io"
owsConfig.image.repositorystring"opendatacube/ows"
owsConfig.image.tagstring""
owsConfig.ows_cfgstring"cfg.ows_test_cfg.ows_cfg"
owsConfig.pathstring"/env/config"
owsConfig.securityContextobject{}
profiling.enabledboolfalse
profiling.pathstring"/opt/profiling/"
prometheus.enabledboolfalse
prometheus.pathstring"/opt/prometheus/"
pyspy.imageobject{}
pyspy.resources.limits.cpustring"0.125"
pyspy.resources.limits.memorystring"512Mi"
service.typestring"NodePort"
serviceAccountobject{}See configuration below @schema properties: enabled: title: enabled type: boolean description: Whether to create and use a Service Account name: title: name type: string annotations: title: annotations type: object @schema
tolerationsobject{}

Service Account configuration

To configure for AWS IAM Roles for Service Accounts you need to specify an annotation for the service account creation (enabled: True) or supply an existing service account (enabled: False).

In the example below replace the two variables ${...} with your clusters values.

serviceAccount:
  enabled: True
  name: ${service_account_name}
  annotations:
    eks.amazonaws.com/role-arn: ${service_account_role_arn}
securityContext:
  fsGroup: 65534 # For datacube-ows to read Kubernetes and AWS token files

Deploy datacube-ows with OpenTenant

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