Skip to content

Commit

Permalink
Merge pull request #491 from MaxFedotov/issues/490
Browse files Browse the repository at this point in the history
✨ expose metrics port in operator deployment
  • Loading branch information
k8s-ci-robot committed Apr 17, 2024
2 parents 1429a32 + 6d78624 commit a6eeda6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/charts/cluster-api-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ spec:
- containerPort: 9443
name: webhook-server
protocol: TCP
- containerPort: {{ ( split ":" $.Values.metricsBindAddr)._1 | int }}
name: metrics
protocol: TCP
{{- with .Values.resources.manager }}
resources:
{{- toYaml . | nindent 12 }}
Expand Down
3 changes: 3 additions & 0 deletions test/e2e/resources/full-chart-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14967,6 +14967,9 @@ spec:
- containerPort: 9443
name: webhook-server
protocol: TCP
- containerPort: 8080
name: metrics
protocol: TCP
resources:
limits:
cpu: 100m
Expand Down

0 comments on commit a6eeda6

Please sign in to comment.