Skip to Content
Platform
Installation
Environment Initialization

Environment Initialization

This section describes how to set up an RSH platform environment in two Kubernetes namespaces, one for the supervision centre and one for the portal. It covers the values that connect the platform, IAM, Datacollection, and Licensing, and the order in which to install them. Each component is described in its own installation guide.

Note

Release described

These pages do not pin chart versions. The versions to install are the ones Regnology delivers for the release. The release notes and the Version Compatibility table list them. Later releases can change the values on these pages; the Platform changelog and the IAM changelog list the changes per release.

Scope

The section covers Google Kubernetes Engine and OpenShift. An on-premises Kubernetes cluster uses the same charts. Azure (AKS) and a Windows server installation of the platform are not covered.

Environment layout

An environment consists of two releases of the RSH chart, one release of Datacollection and one release of Licensing. The same chart supports two layouts. Nothing in the RSH or IAM templates hardcodes a namespace, and the Platform API name of an IAM release defaults to iam-module-<namespace>, so two namespaces get distinct names without an override.

  • Layout A: one namespace. Both releases and both modules run in <NAMESPACE>. The external release has no NATS of its own and reaches the internal one through <NATS_URL>. Because the two IAM instances share the namespace, the external release gives its Platform API instance a name of its own and points the IAM backend at that service. See Values that differ.
  • Layout B: two namespaces. The internal release and both modules run in <INTERNAL_NAMESPACE>, and the external release in <EXTERNAL_NAMESPACE>. The external release reaches NATS by its full service name, <NATS_URL>, and needs neither a distinct Platform API name nor a rewritten backend URL. Datacollection stays one release in <INTERNAL_NAMESPACE> and publishes its portal host to the portal users. Licensing can be one release there, or two, with its external side in <EXTERNAL_NAMESPACE>; see Boundaries and install order.

The two RSH releases install the same chart with different values; see Steps 1 and 2. Names in angle brackets are placeholders for values that each installation chooses. Environment Parameters defines each of them. In layout A, use <NAMESPACE> wherever a command or a value names <INTERNAL_NAMESPACE> or <EXTERNAL_NAMESPACE>.

Install order

A step starts when every step it depends on is complete. Steps 3 and 4 do not depend on each other and can run in parallel.

StepReleaseInstalled in (layout A / B)DescriptionDepends on
1<INTERNAL_RELEASE><NAMESPACE> / <INTERNAL_NAMESPACE>Internal release: NATS with its streams, and IAM for the supervision centreNothing
2<EXTERNAL_RELEASE><NAMESPACE> / <EXTERNAL_NAMESPACE>External release: IAM for the portal, connected to the NATS of step 1Step 1
3<DATACOLLECTION_RELEASE><NAMESPACE> / <INTERNAL_NAMESPACE>Datacollection Module, with MDM; registers with both IAM instancesSteps 1 and 2
4<LICENSING_RELEASE><NAMESPACE> / <INTERNAL_NAMESPACE>, and <EXTERNAL_NAMESPACE> when splitLicensing Module; registers with both IAM instancesSteps 1 and 2
5—<NAMESPACE> / both namespacesUsers, Permissions and Seed ContentSteps 3 and 4
6—<NAMESPACE> / both namespacesEnvironment VerificationStep 5

Steps 1 and 2

Steps 1 and 2 are two installations of the RSH chart, each with its own values file. Install the internal release first, because it runs the NATS that the external release, Datacollection and Licensing connect to. Differences between the two releases lists the values. Traffic between the two namespaces lists the connections that stay open in layout B. In layout A those connections stay inside <NAMESPACE>.

Modules and permissions

Datacollection and Licensing register with IAM when they are installed, so install each only after the IAM instances of both boundaries. Grant permissions after the registration, because the roles that IAM offers come from the modules.

Datacollection, through MDM, provides the reporting entities that IAM uses for permissions. Licensing registers its roles only, so it does not replace that context. See Global entities.

Where to get the charts

Regnology delivers the charts and images through its delivery registry, delivery.regnology.net, and provides read-only credentials for it. The Platform Installation Guide describes the login for the OCI charts. The install commands take the locations below directly, so no chart needs a separate download.

ChartLocation on the delivery registryPlaceholder
rshoci://delivery.regnology.net/rsh-charts/rsh<PLATFORM_CHART>
regulator (Datacollection)oci://delivery.regnology.net/rsh-dc-charts/regulator<DATACOLLECTION_CHART>
vizor (Licensing)oci://delivery.regnology.net/rsh-viz-oci/vizor<LICENSING_CHART>

List the versions of the OCI charts with skopeo:

skopeo list-tags --username "$DELIVERY_USERNAME" --password "$DELIVERY_PASSWORD" \ docker://delivery.regnology.net/rsh-dc-charts/regulator skopeo list-tags --username "$DELIVERY_USERNAME" --password "$DELIVERY_PASSWORD" \ docker://delivery.regnology.net/rsh-viz-oci/vizor

A newer version of a chart can change its values; its changelog or release notes list the changes. When the charts are mirrored into a registry of the installation, the locations point at the mirror instead.