Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions manifests/04-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ spec:
env:
- name: RELEASE_VERSION
value: "0.0.1-snapshot"
- name: METRICS_PORT
value: "9191"
terminationMessagePolicy: FallbackToLogsOnError
volumes:
- configMap:
Expand Down
2 changes: 1 addition & 1 deletion pkg/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

// defaultMetricsPort is the default port to expose metrics.
const DefaultMetricsPort = ":9191"
const DefaultMetricsPort = "127.0.0.1:9191"

var (
// CurrentPendingCSRCountDesc is a metric to report count of pending node CSRs in the cluster
Expand Down