Helm

This page contains information about common helm tasks. More informaiton can also be found on the Requirements page.

Download the SD Elements Helm chart

  1. Browse to https://helm.sdelements.com/charts/ and login with your SD Elements Service account credentials

  2. Download a chart matching the target version of SD Elements, such as sde-5.5.23.tgz

  3. Extract helm chart and navigate into the chart directory (it should contain a Chart.yaml file)

    tar -xvzf sde-5.5.23.tgz && cd sde

Deploy SD Elements

  1. Install the SD Elements chart

    $ helm install <RELEASE_NAME> </path/to/Chart.yaml> --set global.imageRegistryUsername=<SERVICE_USER> --set global.imageRegistryPassword=<SERVICE_PASSWORD>
    • RELEASE_NAME: Release name, must NOT contain spaces, underscores, or periods (same rules as hostname) For example, 'sde-local-1'.

    • </path/to/Chart.yaml>: Path to the Chart.yaml, use . to use Chart.yaml from the current directory.

    • --set …​: Used to set values to customize the deployment (examples are provided below for installs and upgrades).

    • <SERVICE_USER> and <SERVICE_PASSWORD> are your SD Elements Service account credentials.

    • For example, to install a release with a custom SD Elements superuser password:

      helm install sde-1-local . --set global.imageRegistryUsername=sc_acme --set global.imageRegistryPassword=1951aaf2420611ea893817e7c2c2288c --set sde.superuserPassword="security"
Note
Kubernetes Secrets are automatically generated to manage items such as database credentials and encryption keys. These should be managed and maintained like any software that requires version control.
Caution
Running helm install …​ on an existing deployment (vs. helm upgrade …​) results in regeneration of the secrets, which does not match its deployed services. See Common Tasks for more infomation about creating a local backup.

Configure SD Elements

Note
See the Configuration page for additional details.

There are two ways to configure SD Elements once it has been deployed.

Method 1: helm upgrade …​

Use the helm upgrade …​ command to configure SD Elements by adding additonal parameters to the command. For example:

helm upgrade sde-1-local . --set global.imageRegistryUsername=sc_acme --set global.imageRegistryPassword=1951aaf2420611ea893817e7c2c2288c --set worker.consoleLogLevel=DEBUG --set worker.wsgiLogLevel=info

Method 2: values.yaml

  1. Update values.yaml with the desired updates

  2. Run helm upgrade with the same parametes used with helm install …​ (assuming those parameters are ommitted from values.yaml)

Access SD Elements

Note
It usually takes around 5-10 minutes to deploy SD Elements depending on the cluster performance and download speeds. During this time a custom friendly 503 message will be shown.

SD Elements is accessed on port 443 of the host or virtual machine. Typically this would be: https://IP_or_hostname/ (same IP_or_hostname used for the link:Accessing the Kubernetes Dashboard] below).

Upgrade SD Elements

  1. Determine if a new Chart version is needed. See Download SD Elements Helm chart for more information.

  2. Get a list of deployed charts (installed releases).

    helm list
  3. Upgrade the desired release using the same arguments from the helm install …​ command:

    helm upgrade <RELEASE_NAME> ...

Undeploy SD Elements

  1. Get a list of deployed charts (installed releases)

    helm list
  2. Uninstall a release

    helm uninstall <RELEASE_NAME>

Addition Information

The following parameters cannot be updated by using helm upgrade …​:

  • Change the SD Elements superuser password using --set. For example:

    helm upgrade --set sde.superuserPassword="security"
    • Change the superuser password using the SD Elements application.

results matching ""

    No results matching ""