zoo-project-hpgc
by ZOO-Project
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.
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
| Name | Description | Value |
|---|---|---|
| global.postgresql.auth.username | User that will be used to connect to postgresql database | zoo |
| global.postgresql.auth.password | Password for the user | zoo |
| global.postgresql.auth.database | Database name | zoo |
| global.postgresql.service.ports.postgresql | PostgreSQL port | "5432" |
PostgreSQL
| Name | Description | Value |
|---|---|---|
| postgresql.enabled | Is database used to store process execution status | true |
| postgresql.primary.initdb.scriptsConfigMap | The init script config map | true |
RabbitMQ
| Name | Description | Value |
|---|---|---|
| rabbitmq.auth.username | User that will be used to connect to RabbitMQ | RABBITMQ_USERNAME |
| rabbitmq.auth.password | Password for the user | CHANGEME |
| rabbitmq.loadDefinition.enabled | Enable loading a RabbitMQ definitions file to configure RabbitMQ | true |
| rabbitmq.loadDefinition.existingSecret | Existing secret with the load definitions file | load-definition |
| rabbitmq.extraConfiguration | Configuration file content: extra configuration to be appended to RabbitMQ configuration | load_definitions = /app/load_definition.json |
MinIO
| Name | Description | Value |
|---|---|---|
| minio.enabled | Is MinIO used for storage in place of AWS | false |
CookieCutter
| Name | Description | Value |
|---|---|---|
| cookiecutter.templateUrl | Where to download the cookiecutter from | https://github.com/EOEPCA/proc-service-template.git |
ZOO-Project
| Name | Description | Value |
|---|---|---|
| zoo.kernel.maincfgtpl | The main.cfg file to use as configuration for the ZOO-Project | "files/zoo-kernel/main.cfg.tpl" |
| zoo.kernel.oas | The oas.cfg file to use as OpenAPI definitions for the ZOO-Project | "files/zoo-kernel/oas.cfg" |
| zoo.kernel.htaccess | The htaccess file to store in Apache root folder | "files/zoo-kernel/htaccess" |
| zoo.openapi.startupsh | The startUp.sh script to start the ZOO-FPM | "files/openapi/server/startUp.sh" |
| zoo.rabbitmq.rabbitmq | The definition.json file containing initial RabbitMQ settings | "files/rabbitmq/definitions.json" |
| zoo.services.cookiecutter_config | The cookiecutter_config.yaml file to uses | "files/zoo-services/assets/cookiecutter_config.yaml" |
Workflow
| Name | Description | Value |
|---|---|---|
| workflow.storageClass | The storage class used | standard |
| workflow.defaultVolumeSize | The default volume size allocated | 10190 |
| workflow.defaultMaxRam | The default max ram allocated | 1024 |
| workflow.defaultMaxCores | The default max cores allocated | 2 |
| workflow.calrissianImage | The calrissian image version | "terradue/calrissian:0.12.0" |
| workflow.imagePullSecrets | ImagePullSecrets 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.nodeSelector | Constrain on which nodes the processing pods are eligible to run based on the node label | {} |
| workflow.env | Environmental variables for the processing pods | {} |
| workflow.additionalInputs.APP | The application name | zoo-project-hpgc |
| workflow.additionalInputs.STAGEIN_AWS_REGION | The stagein AWS region | RegionOne |
| workflow.additionalInputs.STAGEIN_AWS_ACCESS_KEY_ID | The stagein AWS access key id | minio-admin |
| workflow.additionalInputs.STAGEIN_AWS_SECRET_ACCESS_KEY | The stagein AWS secret access key | minio-secret-password |
| workflow.additionalInputs.STAGEIN_AWS_SERVICE_URL | The stagein AWS service url | http://zoo-project-hpgc-minio.zp.svc.cluster.local:9000 |
| workflow.additionalInputs.STAGEOUT_AWS_REGION | The stageout AWS region | RegionOne |
| workflow.additionalInputs.STAGEOUT_AWS_ACCESS_KEY_ID | The stageout AWS access key id | minio-admin |
| workflow.additionalInputs.STAGEOUT_AWS_SECRET_ACCESS_KEY | The stageout AWS secret access key | minio-secret-password |
| workflow.additionalInputs.STAGEOUT_AWS_SERVICE_URL | The stageout AWS secret access key | minio-admin |
| workflow.additionalInputs.STAGEOUT_OUTPUT | The location where to store output | s3://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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartzoo-project-hpgc is pinned at v0.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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