Skip to content

Commit

Permalink
Operator expose on port 2113
Browse files Browse the repository at this point in the history
Signed-off-by: hungran <[email protected]>
  • Loading branch information
hungran committed Nov 27, 2023
1 parent b8e981b commit a0f2c84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion install/kubernetes/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ tetragonOperator:
# custom resources.
enabled: false
# -- Enables the Tetragon Operator metrics.
metrics:
prometheus:
enabled: true
# -- The port at which to expose metrics.
port: 2113
Expand Down
2 changes: 1 addition & 1 deletion operator/cmd/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func New() *cobra.Command {
return nil
},
}
cmd.Flags().StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
cmd.Flags().StringVar(&metricsAddr, "metrics-bind-address", ":2113", "The address the metric endpoint binds to.")
cmd.Flags().StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
cmd.Flags().BoolVar(&enableLeaderElection, "leader-elect", false,
"Enable leader election for controller manager. "+
Expand Down

0 comments on commit a0f2c84

Please sign in to comment.