Skip to content

Metrics port can't be customized #815

@martin31821

Description

@martin31821

Hi,

we're running cnpg in hostNetwork mode and I've run into an issue that the metrics port can't be customized easily through the helm chart.
I'd like to request the following changes:

values.yaml

monitoring:
  port: 8080
  listenHost: ""

deployment.yaml:

# ...
--webhook-port={{.Values.webhook.port}}
--metrics-bind-address={{.Values.monitoring.listenHost}}:{{.Values.monitoring.port}}
# ...
ports:
- containerPort: {{ .Values.monitoring.port }}
  name: metrics
# ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions