Overview

Requirements

Substra charts assume at least kubernetes 1.19.

In a production setting, Organizations should do mutual TLS when communicating with the Orchestrator. To that end, a certificate authority is required. We recommend cert-manager.

Both the orchestrator and the backend are deployed as Helm charts. The charts are available in the Substra repository:

helm repo add substra https://substra.github.io/charts

For each component section below, configuration options relates to the component’s chart unless specified otherwise.

Shared secrets

Some secrets should be made available to several organizations:

  • the orchestrator’s CA cert should be shared with every other organization

  • each organization’s CA cert should be shared with the orchestrator

Orchestrator

The Orchestrator being a standalone component, it should be deployed first.

For detailed information, please refer to the chart documentation.

There are two main attention point when configuring the orchestrator:

  • Channel configuration

  • the TLS settings

Channel configuration list every Channel the orchestrator should manage and allowed Organizations per channel.

Organization name should match the one defined in backend deployment under the orchestrator.mspID option.

Regarding TLS configuration, the orchestrator should have its CA certificate passed under orchestrator.tls.cacert. The easiest way to pass the orchestrator a valid certificate is to enable the orchestrator.tls.createCertificates.enabled option. The keypair will be available as a secret named orchestrator.secrets.pair.

Mutual TLS should be enabled and each organization having access to the orchestrator should have its cacert listed under orchestrator.tls.mtls.clientCACerts.<org_name. <org_name> should match the organization’s name (orchestrator.mspID option on backend side).

Backend

Orchestrator communication

In order to communicate with the orchestrator over mutual TLS, the backend should be configured according to the orchestrator settings.

Note that this is unrelated to the backend ingress configuration, which can also have a TLS layer.

The orchestrator CA certificate secret name should be passed under orchestrator.tls.cacert option. The client certificate secret name should be passed under orchestrator.tls.mtls.clientCertificate option.

Account configuration

User access are created by a dedicated pod (account-operator), credentials are listed under addAccountOperator.users.

There are also shared credentials to allow direct backend to backend communication. They are listed under addAccountOperator.incomingOrganizations or addAccountOperator.outgoingOrganizations.

Now you understand some of the concepts, you can read how to deploy Substra.