Skip to content

Rcloud Installation Guide

This document covers the configuration and deployment of the RSH platform into an Rcloud space. For documentation about installing RSH modules afterwards, please check out their own installation instructions.

Important

The steps must be followed in the exact order, as subsequent steps can be impacted. Upper-case placeholders like ENVIRONMENT_NAME need to be replaced with actual values.

Installation

Open the Rcloud Web UI in a browser and select the correct Tenant and Space. Then click on Request Instance and enter the following values:

  • Instance Name: Set a unique name for the instance. Try to stick with a short but still recognizable name, as it will be pre- and postfixed for the various services in the cluster.
  • Instance Type: On non-production environments, use Internal and be sure to enter the correct Cost Center ID for your use case in the following field.
    On production environments, enter the correct Customer ID and Contract ID in the following fields, as well as selecting a reasonable Purpose and Customer State from the dropdowns.
  • Application: Select RSH - Platform.
  • Version: Select the chart version to install, or if in doubt, the latest available version (first element in the dropdown).
    For production environments, no beta versions should be used.
  • Space: Select the correct Rcloud space (cluster) into which the chart should be installed. The preset should be fine.
  • Managed by Regnology: Enable for production environments, disable for non-production environments.
  • Suspend & Resume Schedule: Enable for non-production environments and set reasonable suspend hours, e.g., in the night or at weekends.
  • Backup Schedule: Leave Frequency set to every 24 hours and set Starting time to 00:01.
  • IP Whitelisting: Coordinate with the responsible PS team of the client project to get the IP address ranges of the client that need to be whitelisted under IP address whitelist - Custom IP address ranges.
    If at the time of instance creation the IP address ranges are not known, set IP address whitelist to Allow all and update the IP address ranges later when known.

Important

In addition to any whitelisted IP range, add the static external cluster IP used by all outgoing traffic from the Kubernetes cluster to the whitelist.

Configuration

rsh:
  global:
    smtpServer:
      from: <FROM_EMAIL>
      fromDisplayName: '{{ printf "IAM Module - %s" (trimPrefix "iam-module-" .Release.Namespace|lower)}}'
      host: <SMTP_HOST>
      port: <SMTP_PORT>
      auth:
        enabled: true
        username: <SMTP_HOST>
        password: <SMTP_PASSWORD>
      starttls: true
      ssl: false
  iam:
    global:
      keycloak:
        realm: <REALM_NAME>
    keycloak:
      adminEmail: <ADMIN_EMAIL>
      realm:
        displayName: 'Platform Hub'
      auth:
        adminPassword: admin
        existingSecret: ''
      extraConfiguration:
        01-users.yaml: |
          realm: {{ .Values.global.keycloak.realm | quote }}
          enabled: true
          users:
            - username: admin
              groups:
                - administrator
              credentials:
                - type: password
                  value: <KEYCLOAK_ADMIN_PASSWORD>
                  temporary: false

Important

Be sure to replace all variables in angle brackets with appropriate values or credentials: <FROM_EMAIL>, <SMTP_HOST>, <SMTP_PORT>, <SMTP_USERNAME>, <SMTP_PASSWORD>, <REALM_NAME>, <ADMIN_EMAIL>, <KEYCLOAK_ADMIN_PASSWORD>

For the field rsh.iam.global.keycloak.realm, set a unique realm name, e.g., rsh-internal. This name must not contain any special characters or spaces.

Afterwork

After a successful installation of the RSH platform, RSH modules can be installed.
For configuring Platform API instances of the modules to communicate with the RSH platform NATS service, use the following URL scheme: nats://rsh-nats.rsh-<INSTANCE_NAME>:4222, where <INSTANCE_NAME> is the instance name entered in the first step of the installation process.