Skip to content

Commit

Permalink
fix: Expose metrics port to use with PodMonitoring (#659)
Browse files Browse the repository at this point in the history
* Expose metrics port to use with PodMonitoring

* Generating configs for install via make manifests
  • Loading branch information
shirkevich committed Jul 12, 2023
1 parent bd90c33 commit 9927269
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ spec:
args:
- --leader-elect
env: []
ports:
- containerPort: 8080
name: metrics
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
3 changes: 3 additions & 0 deletions install/controller/controller/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ spec:
initialDelaySeconds: 15
periodSeconds: 20
name: controller
ports:
- containerPort: 8080
name: metrics
readinessProbe:
httpGet:
path: /readyz
Expand Down

0 comments on commit 9927269

Please sign in to comment.