3.2.2.4. Configuring Custom tungsten.ini properties

If you are familiar with Tungsten Clustering, you will know that there are many properties that can be set via the /etc/tungsten/tungsten.ini file which will influence the behavior of the cluster. You have the option to include these custom properties by including the name/value key pairs within the yaml file.

You will need to include a section with the keyword customTungstenIniProperties under which you add the appropriate name and value. The location of this property will influence where within the /etc/tungsten/tungsten.ini the property is included.

For it to be part of the [defaults] and apply to all clusters, you should add this within configuration. For the values to apply only to a specific cluster, you should include this within the relevant cluster section under dataServices section.

The example below shows values included in both of these sections:

...
spec:
  configuration:
    customPasswordSecret: custom-tungsten-passwords-sample
    customTungstenIniProperties:
      - name: connector-bridge-mode
        value: "true"
      - name: repl-buffer-size
        value: "10"
  dataServices:
  - name: composite
    topology: composite-active-passive
    sources:
    - east
    - west
  - name: east
    topology: clustered
    size: 3
    customTungstenIniProperties:
      - name: connector-disconnect-timeout
        value: "10"
      - name: property=manager.prometheus.exporter.enabled
        value: "true"
...

For a full list of valid properties, their behavior and options, consult the Tungsten Clustering™ Doc pages