zoo-project-hpgc

by ZOO-Project

Helm chartv0.0.3App 0.0.6Verified publisher

A Helm chart for Kubernetes

About this chart

ZOO-Project with DRU, CWL and OGC Application Package for HPC support package

The ZOO-Project is an open source processing platform, released under MIT/X11 Licence.

Overview of ZOO-Project

Trademarks: This software listing is packaged by the ZOO-Project developper team. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.

Introduction

This chart bootstraps a ZOO-Project deployment on a cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-zoo-project-hpgc:

helm repo add zoo-project https://zoo-project.github.io/charts/
helm install my-zoo-project-hpgc zoo-project/zoo-project-hpgc --version 0.0.3

Parameters

Global parameters

NameDescriptionValue
global.postgresql.auth.usernameUser that will be used to connect to postgresql databasezoo
global.postgresql.auth.passwordPassword for the userzoo
global.postgresql.auth.databaseDatabase namezoo
global.postgresql.service.ports.postgresqlPostgreSQL port"5432"

PostgreSQL

NameDescriptionValue
postgresql.enabledIs database used to store process execution statustrue
postgresql.primary.initdb.scriptsConfigMapThe init script config maptrue

RabbitMQ

NameDescriptionValue
rabbitmq.auth.usernameUser that will be used to connect to RabbitMQRABBITMQ_USERNAME
rabbitmq.auth.passwordPassword for the userCHANGEME
rabbitmq.loadDefinition.enabledEnable loading a RabbitMQ definitions file to configure RabbitMQtrue
rabbitmq.loadDefinition.existingSecretExisting secret with the load definitions fileload-definition
rabbitmq.extraConfigurationConfiguration file content: extra configuration to be appended to RabbitMQ configurationload_definitions = /app/load_definition.json

MinIO

NameDescriptionValue
minio.enabledIs MinIO used for storage in place of AWSfalse

CookieCutter

NameDescriptionValue
cookiecutter.templateUrlWhere to download the cookiecutter fromhttps://github.com/EOEPCA/proc-service-template.git

ZOO-Project

NameDescriptionValue
zoo.kernel.maincfgtplThe main.cfg file to use as configuration for the ZOO-Project"files/zoo-kernel/main.cfg.tpl"
zoo.kernel.oasThe oas.cfg file to use as OpenAPI definitions for the ZOO-Project"files/zoo-kernel/oas.cfg"
zoo.kernel.htaccessThe htaccess file to store in Apache root folder"files/zoo-kernel/htaccess"
zoo.openapi.startupshThe startUp.sh script to start the ZOO-FPM"files/openapi/server/startUp.sh"
zoo.rabbitmq.rabbitmqThe definition.json file containing initial RabbitMQ settings"files/rabbitmq/definitions.json"
zoo.services.cookiecutter_configThe cookiecutter_config.yaml file to uses"files/zoo-services/assets/cookiecutter_config.yaml"

Workflow

NameDescriptionValue
workflow.storageClassThe storage class usedstandard
workflow.defaultVolumeSizeThe default volume size allocated10190
workflow.defaultMaxRamThe default max ram allocated1024
workflow.defaultMaxCoresThe default max cores allocated2
workflow.calrissianImageThe calrissian image version"terradue/calrissian:0.12.0"
workflow.imagePullSecretsImagePullSecrets is an optional list of references to secrets for the processing namespace to use for pulling any of the images used by the processing pods. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod[]
workflow.nodeSelectorConstrain on which nodes the processing pods are eligible to run based on the node label{}
workflow.envEnvironmental variables for the processing pods{}
workflow.additionalInputs.APPThe application namezoo-project-hpgc
workflow.additionalInputs.STAGEIN_AWS_REGIONThe stagein AWS regionRegionOne
workflow.additionalInputs.STAGEIN_AWS_ACCESS_KEY_IDThe stagein AWS access key idminio-admin
workflow.additionalInputs.STAGEIN_AWS_SECRET_ACCESS_KEYThe stagein AWS secret access keyminio-secret-password
workflow.additionalInputs.STAGEIN_AWS_SERVICE_URLThe stagein AWS service urlhttp://zoo-project-hpgc-minio.zp.svc.cluster.local:9000
workflow.additionalInputs.STAGEOUT_AWS_REGIONThe stageout AWS regionRegionOne
workflow.additionalInputs.STAGEOUT_AWS_ACCESS_KEY_IDThe stageout AWS access key idminio-admin
workflow.additionalInputs.STAGEOUT_AWS_SECRET_ACCESS_KEYThe stageout AWS secret access keyminio-secret-password
workflow.additionalInputs.STAGEOUT_AWS_SERVICE_URLThe stageout AWS secret access keyminio-admin
workflow.additionalInputs.STAGEOUT_OUTPUTThe location where to store outputs3://processingresults

Deploy zoo-project-hpgc with OpenTenant

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