crate / crate-operator

The CrateDB Kubernetes Operator provides a convenient way to run CrateDB clusters inside Kubernetes.

Home Page:https://crate.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Override Clusters Settings from the operator configuration

etiennejournet opened this issue · comments

Hello !

Following this, I was wondering if it's possible to override settings in all clusters from the operator configuration.

The use case of this previous issue would be to set "network.host" once and for all in the operator configuration, and have it set all the way to the Cluster Nodes.
We could set this variable (and others) from the values.yaml in helm. An example:

cluster_overrides:
  - crate-arguments:
    - network.host=0.0.0.0
  - spec:
    - image_repository: <custom_image> ## Also useful to force the repository
    - storage_class: <forced_storage_class> ## Force the storage class through the cluster

Regards,

Hi @etiennejournet, are you referring to what you can specify using the CrateDB CRD using this operator? The CRD takes quite a few parameters, and it's possible to specify both the image to use and the storage class.