The cluster can be configured via a YAML file. This custom resource specifies the amount of replicas for each role group or role specific configuration like port definitions etc.
apiVersion: zookeeper.stackable.tech/v1alpha1
kind: ZookeeperCluster
metadata:
name: simple
spec:
image:
productVersion: 3.8.1
stackableVersion: 0.0.0-dev
servers:
roleGroups:
default:
selector:
matchLabels:
kubernetes.io/os: linux
# Here you can set the Stackable supported configuration parameters
# See the documentation for a full list of the exposed configuration parameters
config:
tickTime: 3000
# You can also override properties in a configuration file here
configOverrides:
zoo.cfg:
4lw.commands.whitelist: 'srvr,ruok,isro'
# Set environment variables here
envOverrides:
MY_ENV_VAR: "foobar"