Configuration, environment & Pod overrides
The Stackable Data Platform supports overrides in config files, environment variables and Pod templates. Read more about overrides on the overrides concepts page.
| Overriding some settings like port numbers can cause your cluster to malfunction! |
Configuration overrides
Trino configuration is stored in several files listed below. The configuration overrides menchanism allows you to customize parameters in these files; consult the Trino documentation to find out which settings available.
Confiuration overrides are applied like so:
# ...
configOverrides:
config.properties: (1)
http-server.authentication.oauth2.principal-field: preferred_username (2)
# ...
| 1 | The file where you want to override a setting. |
| 2 | The config setting and the value to set it to. |
Configuration overrides can be applied to:
-
config.properties -
node.properties
Environment overrides
Environment variables can be (over)written by adding the envOverrides property:
# ...
envOverrides:
MY_ENV_VAR: "MY_VALUE"
# ...
Pod overrides
Pod overrides allow you to specify a PodTemplateSpec. Consult the Pod overrides concept documentation for more information.
JVM argument overrides
Stackable operators automatically determine the set of needed JVM arguments, such as memory settings or trust- and keystores. Using JVM argument overrides you can configure the JVM arguments according to the concepts page.