Skip to content

Commit

Permalink
Merge pull request openshift#86 from csrwng/metrics_pods_resources
Browse files Browse the repository at this point in the history
Add resource requests to ROKS metrics pods
  • Loading branch information
openshift-merge-robot authored Oct 22, 2020
2 parents 2f4192c + cc802cd commit b265cc9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions assets/roks-metrics/roks-metrics-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ spec:
volumeMounts:
- name: serving-cert
mountPath: /var/run/secrets/serving-cert
resources:
requests:
cpu: "10m"
memory: "50Mi"
serviceAccountName: roks-metrics
volumes:
- name: serving-cert
Expand Down
4 changes: 4 additions & 0 deletions assets/roks-metrics/roks-metrics-push-gateway-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ spec:
ports:
- containerPort: 9091
name: http
resources:
requests:
cpu: "10m"
memory: "50Mi"
8 changes: 8 additions & 0 deletions pkg/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b265cc9

Please sign in to comment.