Skip to content

Cannot pass prometheusMonitor config via --set to GreptimeDB Cluster CRD #178

@shawnh2

Description

@shawnh2

creating a bare-metal cluster using:

./bin/gtctl cluster create mycluster -n default \
  --set cluster.prometheusMonitor.enabled=true \
  --set cluster.prometheusMonitor.path=/metrics \
  --set cluster.prometheusMonitor.port=http \
  --set cluster.prometheusMonitor.interval=20s \
  --set cluster.prometheusMonitor.honorLabels=true \
  --set cluster.prometheusMonitor.labelsSelector.release=prometheus \
  --set cluster.postgresServicePort=4444

the result GreptimeDB Cluster CRD suggests the prometheusMonitor field is not be set, even though there's prometheusMonitor field sets in generated manifest:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions