clowder2

by NCSA

Helm chartv1.9.7App 2.0.0-beta.4Verified publisher

Open Source Data Management for Long Tail Data. Clowder is a customizable and scalable data management framework to support any data format and multiple research domains.

About this chart

Clowder v2 Helm Charts

Helm charts depend on some subcharts, make sure to have them installed if you plan on modifying the helm chart:

helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
helm dependency update

The chart has some common values; you can overwrite with your own values following below examples:

# helm upgrade --namespace clowder2 --values clowder2-software-dev.yaml clowder2 clowder2

hostname: { your hostname. E.g. clowder2.software-dev.ncsa.illinois.edu }

frontend:
  image:
    repository: clowder/clowder2-frontend
    tag: 2.0.0-beta.4
    pullPolicy: Always

backend:
  image:
    repository: clowder/clowder2-backend
    tag: 2.0.0-beta.4
    pullPolicy: Always

geoserver:
  enabled: true
  username: { your geoserver username }
  password: { your geoserver password }
  persistence:
    storageClass: { your storage class name }
    size: { your geoserver storage size e.g. 8Gi }
  ingress:
    hostname: { your hostname }

minio:
  auth:
    rootUser: { your minio username }
    rootPassword: { your minio password }
  persistence:
    storageClass: { your storage class name }
    size: { your minio storage size e.g. 20Gi }
  ingress:
    hostname: { "minio."+ hostname }
  apiIngress:
    hostname: { "minio-api." + hostname }

rabbitmq:
  # login
  auth:
    username: { your rabbitmq username }
    password: { your rabbitmq password }
    erlangCookie: { your rabbitmq cookie }
  ingress:
    hostname: { "rabbitmq." + hostname }
  persistence:
    storageClass: { your storage class name e.g.csi-cinder-sc-delete }
    size: { your rabbitmq storage size e.g. 8Gi }

mongodb:
  persistence:
    storageClass: { your storage class name e.g. csi-cinder-sc-delete }
    size: { your mongodb storage size e.g. 8Gi }

elasticsearch:
  master:
    persistence:
      storageClass: { your storage class name e.g. csi-cinder-sc-delete }
      size: { your elasticsearch storage size e.g. 8Gi }
  data:
    persistence:
      storageClass: { your storage class name e.g. csi-cinder-sc-delete }
      size: { your elasticsearch storage size e.g. 8Gi }

keycloak:
  auth:
    adminUser: { your keycloak admin username }
    adminPassword: { your keycloak admin password }
  ingress:
    hostname: { hostname }
  postgresql:
    auth:
      password: { your postgresql password }
      postgresPassword: { your postgresql password }
    primary:
      persistence:
        storageClass: { your storage class name e.g. csi-cinder-sc-delete }
        size: { your postgresql storage size e.g. 8Gi }

message:
  image:
    repository: clowder/clowder2-messages
    tag: main

heartbeat:
  image:
    repository: clowder/clowder2-heartbeat
    tag: main

Now you can install (or upgrade) clowder using:

helm upgrade --install --namespace clowder2 --create-namespace --values local.yaml clowder2 .

Ingress Controller

You will need an ingress controller. Traefik works well as ingress controller. You can install it with:

helm install --namespace traefik --create-namespace traefik traefik/traefik

If you want to enable the dashboard, you need the following file (dashboard.yaml):

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: dashboard
spec:
  entryPoints:
    - web
  routes:
    - match: Host(`traefik.clowder2.ncsa.illinois.edu`)
      kind: Rule
      services:
        - name: api@internal
          kind: TraefikService

and apply it using:

kubectl -n traefik apply -f dashboard.yaml

Deploy clowder2 with OpenTenant

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