tar -xvzf sde-5.5.23.tgz && cd sde
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
-
Browse to https://helm.sdelements.com/charts/ and login with your SD Elements Service account credentials
-
Download a chart matching the target version of SD Elements, such as
sde-5.5.23.tgz
-
Extract helm chart and navigate into the chart directory (it should contain a
Chart.yaml
file)
Deploy SD Elements
-
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 useChart.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"
-
Configure SD Elements
|
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
-
Update
values.yaml
with the desired updates -
Run
helm upgrade
with the same parametes used withhelm install …
(assuming those parameters are ommitted fromvalues.yaml
)
Access SD Elements
|
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
-
Determine if a new Chart version is needed. See Download SD Elements Helm chart for more information.
-
Get a list of deployed charts (installed releases).
helm list
-
Upgrade the desired release using the same arguments from the
helm install …
command:helm upgrade <RELEASE_NAME> ...
Undeploy SD Elements
-
Get a list of deployed charts (installed releases)
helm list
-
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.
-