Upgrade your cluster by the following command:
\nhelm upgrade --install mycluster greptime/greptimedb-cluster --values ./values.yaml
We are considering extracting commonly used configurations to CRD fields that the user can configure easily without specifying environment variables or config data.
","upvoteCount":1,"url":"https://github.com/orgs/GreptimeTeam/discussions/4793#discussioncomment-10881835"}}}configuration over ENV #4793
-
Hi guys, I use According to the documentation, I can set the settings using environment variables Trying to set region_engine.mito.page_cache_size GREPTIMEDB_DATANODE__REGION_ENGINE__MITO__PAGE_CACHE_SIZE I get an error Translated with www.DeepL.com/Translator (free version) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We use config-rs to parse environment variables to config struct. Unfortunately, it doesn't support parsing struct list(The type of If you want to configure For example, you can create a datanode:
configData: |-
[[region_engine]]
[region_engine.mito]
page_cache_size = "256MB" Upgrade your cluster by the following command: helm upgrade --install mycluster greptime/greptimedb-cluster --values ./values.yaml We are considering extracting commonly used configurations to CRD fields that the user can configure easily without specifying environment variables or config data. |
Beta Was this translation helpful? Give feedback.
We use config-rs to parse environment variables to config struct. Unfortunately, it doesn't support parsing struct list(The type of
region_engine
is list) from environment variable.If you want to configure
region_engine
, you can usedatanode.configData
ofgreptimedb-cluster
chart.For example, you can create a
values.yaml
:Upgrade your cluster by the following command:
helm upgrade --install mycluster greptime/greptimedb-cluster --values ./values.yaml
We are considering extracting commonly used configurations to CRD fields that the user can configure easily without specifying environme…