pravega / zookeeper-operator

Kubernetes Operator for Zookeeper
Apache License 2.0
368 stars 207 forks source link

Helm chart deployment does not expose metrics for collection #581

Closed joshsouza closed 11 months ago

joshsouza commented 11 months ago

Description

At the present time, the Helm deployment of zookeeper-operator does not expose the metrics port to the cluster for collection by Prometheus or other tools. While metrics are available from localhost in the pod on port 6000, they are bound to 127.0.0.1:6000 by default, and thus cannot be accessed by other pods in the cluster.

The Helm chart does not have any variables established to configure this at this time, which means that outside of modifications to the deployment outside of Helm, the metrics cannot be reached.

Importance

Should-have: The metrics are generated, but not accessible, as was surely intended

Location

charts/solr-operator (deployment/values)

Suggestions for an improvement

I will provide a PR to go with this issue for my proposed fix, but anything that will make these metrics available by default or configurable to become available would be sufficient.