Skip to content
\n

Upgrade your cluster by the following command:

\n
helm upgrade --install mycluster greptime/greptimedb-cluster --values ./values.yaml
\n

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

Answered by zyy17
Borzo-terrum asked this question in Q&A
Oct 3, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

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 use datanode.configData of greptimedb-cluster chart.

For example, you can create a values.yaml:

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 environme…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Borzo-terrum
Comment options

Answer selected by Borzo-terrum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants