How to set custom properties for a new TSS deployment in a Kubernetes cluster

How to set custom properties for a new TSS deployment in a Kubernetes cluster

book

Article ID: KB0070422

calendar_today

Updated On:

Products Versions
Spotfire Server 12.0 and later

Description

In most cases, setting some Spotfire Server properties to non-default values is required. This may be done by modifying the Helm chart values, as described below.

Issue/Introduction

Outlines the steps needed to set custom properties for a new Spotfire Server deployment in a Kubernetes cluster. This article uses the example of setting terr.restricted.execution.mode to 'false'.

Resolution

Take the example of the Spotfire Server property: terr.restricted.execution.mode. The default setting is TRUE, but in this case, we want to change it to FALSE.

To do this, edit the values.yaml file for the spotfire-server Helm chart, located in:

spotfire-cloud-deployment-kit/helm/charts/spotfire-server/values.yaml

Find the 'configuration' section, and add the property:
 
configuration:
  terr.restricted.execution.mode: "false"

Then install the Helm chart as noted in the CDK documentation.

Finally, confirm that the property was set by inspecting the config-job pod log. For example..
 
$ kubectl logs <helm-release-name>-config-job-****
...
Successfully set the 'terr.restricted.execution.mode' configuration property to 'false'