orchestrator

by Substra

Helm chartv8.8.0App 1.0.0Verified publisher

substra orchestration

About this chart

Orchestrator

Orchestrator implements the orchestration components used by the Substra platform.

Prerequisites

  • Kubernetes 1.16+

Changelog

See CHANGELOG.md

Installing the chart

Standalone

to install the chart with the release name my-release with one organization named MyOrg1MSP:

helm install my-release charts/orchestrator --set 'channels[0].name=mychannel' --set 'channels[0].organizations={MyOrg1MSP}'

Parameters

Global orchestrator settings

NameDescriptionValue
imagePullSecretsImage pull secrets[]
nameOverrideString to partially override the orchestrator.fullname""
fullnameOverrideString to fully override the orchestrator.fullname""
serviceAccount.createEnable creation of a ServiceAccount for the orchestrator podstrue
serviceAccount.annotationsAnnotations to add to the ServiceAccount{}
serviceAccount.nameName of the created ServiceAccount""
podAnnotationsOrchestrator pod annotations{}
podSecurityContextOrchestrator pod security context{}
securityContextOrchestrator container security context{}
service.typeOrchestrator service typeClusterIP
service.portOrchestrator service port9000
service.nodePortOrchestrator service port on the node if service type is NodePort""
metrics.enabledExpose Prometheus metricsfalse
metrics.serviceMonitor.enabledCreate ServiceMonitor resource for scraping metrics using Prometheus Operatorfalse
metrics.serviceMonitor.namespaceNamespace for the ServiceMonitor resource (defaults to the Release Namespace)""
metrics.serviceMonitor.intervalInterval at which metrics should be scraped""
metrics.serviceMonitor.scrapeTimeoutTimeout after which the scrape is ended""
metrics.serviceMonitor.relabelingsRelabelConfigs to apply to samples before scraping[]
metrics.serviceMonitor.metricRelabelingsMetricRelabelConfigs to apply to samples before insertion[]
metrics.serviceMonitor.honorLabelsSpecify honorLabels parameter of the scrape endpointfalse
ingress.enabledEnable ingress for Orchestrator servicefalse
ingress.ingressClassNameIngress class namenil
ingress.pathpath of the deault host/
ingress.hostnamehostname of the default host""
ingress.extraPathsThe list of extra paths to be created for the default host[]
ingress.pathTypeIngress path typeImplementationSpecific
ingress.extraHostsThe list of additional hostnames to be covered with this ingress record[]
ingress.extraTlsThe tls configuration for hostnames to be coverred by the ingress[]
resources.requests.cpuCPU request for the orchestrator container500m
resources.requests.memorymemory request for the orchestrator container200Mi
resources.limits.cpuCPU limits for the orchestrator container500m
resources.limits.memorymemory limit for the orchestrator container800Mi
nodeSelectorNode labels used for pod assignment{}
tolerationsTolerations labels for pod assignment[]
affinityAffinity settings for pod assignment{}

Database connection settings

NameDescriptionValue
database.auth.databasewhat DB to connect toorchestrator
database.auth.usernamewhat user to connect aspostgres
database.auth.passwordwhat password to use for connectingpostgres
database.auth.credentialsSecretNameAn alternative to giving username and password; must have DATABASE_USERNAME and DATABASE_PASSWORD keys.nil
database.hostHostname of the database to connect to (defaults to local)nil
database.portPort of an external database to connect to5432
database.connectionParametersdatabase URI parameters (key=value&key=value)""

PostgreSQL settings

Database included as a subchart used by default.

See Bitnami documentation: https://bitnami.com/stack/postgresql/helm

NameDescriptionValue
postgresql.enabledDeploy a PostgreSQL instance along the orchestrator for its usetrue

Orchestrator application specific parameters

NameDescriptionValue
orchestrator.image.registryorchestrator image repositoryghcr.io
orchestrator.image.repositoryorchestrator image repositorysubstra/orchestrator-server
orchestrator.image.pullPolicyorchestrator image pull policyIfNotPresent
orchestrator.image.tagorchestrator image tag (defaults to AppVersion)nil
orchestrator.fullnameOverrideString to fully override the orchestrator.server.fullname""
orchestrator.logLevelOrchestrator log levelINFO
orchestrator.logSQLVerboseLog SQL statements with debug verbosityfalse
orchestrator.verifyClientMSPIDIf true, validates incoming gRPC requests by checking the mspid header matches the subject organization of the client SSL certificate. See MSPID checkfalse
orchestrator.txRetryBudgetDuration (go format) during which the transaction can be retried in case of conflicting writes500ms
orchestrator.tls.createCertificates.enabledIf true creates a cert-manager Certificate resource for the Orchestratorfalse
orchestrator.tls.createCertificates.domainsA list of domains to be covered by the generated certificate[]
orchestrator.tls.createCertificates.durationTTL of the Orchestrator certificate2160h
orchestrator.tls.createCertificates.issuerIssuer or ClusterIssuer responsible for the creation of this Certificate""
orchestrator.tls.createCertificates.issuerKindCertificate issuer kind (Issuer or ClusterIssuer)ClusterIssuer
orchestrator.tls.enabledIf true, enable TLS for the orchestrator gRPC endpointfalse
orchestrator.tls.secrets.pairA secret containing the server TLS cert/key pair tls.crt and tls.keyorchestrator-tls-server-pair
orchestrator.tls.cacertA ConfigMap containing the server TLS CA cert cat.crtorchestrator-tls-cacert
orchestrator.tls.mtls.enabledIf true, enable TLS client verificationfalse
orchestrator.tls.mtls.clientCACertsA map whose keys are names of the CAs, and values are a list of configmaps containing CA certificates{}

Channels settings

NameDescriptionValue
channelsList of channels and their members (MSPID)[]

Deploy orchestrator with OpenTenant

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