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
| Name | Description | Value |
|---|---|---|
imagePullSecrets | Image pull secrets | [] |
nameOverride | String to partially override the orchestrator.fullname | "" |
fullnameOverride | String to fully override the orchestrator.fullname | "" |
serviceAccount.create | Enable creation of a ServiceAccount for the orchestrator pods | true |
serviceAccount.annotations | Annotations to add to the ServiceAccount | {} |
serviceAccount.name | Name of the created ServiceAccount | "" |
podAnnotations | Orchestrator pod annotations | {} |
podSecurityContext | Orchestrator pod security context | {} |
securityContext | Orchestrator container security context | {} |
service.type | Orchestrator service type | ClusterIP |
service.port | Orchestrator service port | 9000 |
service.nodePort | Orchestrator service port on the node if service type is NodePort | "" |
metrics.enabled | Expose Prometheus metrics | false |
metrics.serviceMonitor.enabled | Create ServiceMonitor resource for scraping metrics using Prometheus Operator | false |
metrics.serviceMonitor.namespace | Namespace for the ServiceMonitor resource (defaults to the Release Namespace) | "" |
metrics.serviceMonitor.interval | Interval at which metrics should be scraped | "" |
metrics.serviceMonitor.scrapeTimeout | Timeout after which the scrape is ended | "" |
metrics.serviceMonitor.relabelings | RelabelConfigs to apply to samples before scraping | [] |
metrics.serviceMonitor.metricRelabelings | MetricRelabelConfigs to apply to samples before insertion | [] |
metrics.serviceMonitor.honorLabels | Specify honorLabels parameter of the scrape endpoint | false |
ingress.enabled | Enable ingress for Orchestrator service | false |
ingress.ingressClassName | Ingress class name | nil |
ingress.path | path of the deault host | / |
ingress.hostname | hostname of the default host | "" |
ingress.extraPaths | The list of extra paths to be created for the default host | [] |
ingress.pathType | Ingress path type | ImplementationSpecific |
ingress.extraHosts | The list of additional hostnames to be covered with this ingress record | [] |
ingress.extraTls | The tls configuration for hostnames to be coverred by the ingress | [] |
resources.requests.cpu | CPU request for the orchestrator container | 500m |
resources.requests.memory | memory request for the orchestrator container | 200Mi |
resources.limits.cpu | CPU limits for the orchestrator container | 500m |
resources.limits.memory | memory limit for the orchestrator container | 800Mi |
nodeSelector | Node labels used for pod assignment | {} |
tolerations | Tolerations labels for pod assignment | [] |
affinity | Affinity settings for pod assignment | {} |
Database connection settings
| Name | Description | Value |
|---|---|---|
database.auth.database | what DB to connect to | orchestrator |
database.auth.username | what user to connect as | postgres |
database.auth.password | what password to use for connecting | postgres |
database.auth.credentialsSecretName | An alternative to giving username and password; must have DATABASE_USERNAME and DATABASE_PASSWORD keys. | nil |
database.host | Hostname of the database to connect to (defaults to local) | nil |
database.port | Port of an external database to connect to | 5432 |
database.connectionParameters | database 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
| Name | Description | Value |
|---|---|---|
postgresql.enabled | Deploy a PostgreSQL instance along the orchestrator for its use | true |
Orchestrator application specific parameters
| Name | Description | Value |
|---|---|---|
orchestrator.image.registry | orchestrator image repository | ghcr.io |
orchestrator.image.repository | orchestrator image repository | substra/orchestrator-server |
orchestrator.image.pullPolicy | orchestrator image pull policy | IfNotPresent |
orchestrator.image.tag | orchestrator image tag (defaults to AppVersion) | nil |
orchestrator.fullnameOverride | String to fully override the orchestrator.server.fullname | "" |
orchestrator.logLevel | Orchestrator log level | INFO |
orchestrator.logSQLVerbose | Log SQL statements with debug verbosity | false |
orchestrator.verifyClientMSPID | If true, validates incoming gRPC requests by checking the mspid header matches the subject organization of the client SSL certificate. See MSPID check | false |
orchestrator.txRetryBudget | Duration (go format) during which the transaction can be retried in case of conflicting writes | 500ms |
orchestrator.tls.createCertificates.enabled | If true creates a cert-manager Certificate resource for the Orchestrator | false |
orchestrator.tls.createCertificates.domains | A list of domains to be covered by the generated certificate | [] |
orchestrator.tls.createCertificates.duration | TTL of the Orchestrator certificate | 2160h |
orchestrator.tls.createCertificates.issuer | Issuer or ClusterIssuer responsible for the creation of this Certificate | "" |
orchestrator.tls.createCertificates.issuerKind | Certificate issuer kind (Issuer or ClusterIssuer) | ClusterIssuer |
orchestrator.tls.enabled | If true, enable TLS for the orchestrator gRPC endpoint | false |
orchestrator.tls.secrets.pair | A secret containing the server TLS cert/key pair tls.crt and tls.key | orchestrator-tls-server-pair |
orchestrator.tls.cacert | A ConfigMap containing the server TLS CA cert cat.crt | orchestrator-tls-cacert |
orchestrator.tls.mtls.enabled | If true, enable TLS client verification | false |
orchestrator.tls.mtls.clientCACerts | A map whose keys are names of the CAs, and values are a list of configmaps containing CA certificates | {} |
Channels settings
| Name | Description | Value |
|---|---|---|
channels | List 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartorchestrator is pinned at v8.8.0 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