Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
ref(chart): add resource limits/requests for other osm-system pods (#906
Browse files Browse the repository at this point in the history
)
  • Loading branch information
nojnhuh committed Jun 26, 2020
1 parent c1a0a02 commit 67d781c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions charts/osm/templates/grafana-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ spec:
- name: grafana
image: "grafana/grafana:7.0.1"
imagePullPolicy: Always
resources:
limits:
cpu: 500m
memory: 128M
requests:
cpu: 100m
memory: 64M
volumeMounts:
- name: osm-grafana-config
mountPath: "/etc/grafana/grafana.ini"
Expand Down
7 changes: 7 additions & 0 deletions charts/osm/templates/prometheus-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ spec:
- --web.listen-address=:{{.Values.OpenServiceMesh.prometheus.port}}
image: prom/prometheus:v2.18.1
imagePullPolicy: Always
resources:
limits:
cpu: 500m
memory: 512M
requests:
cpu: 100m
memory: 256M
volumeMounts:
- mountPath: /etc/prometheus/
name: prometheus-config-volume
Expand Down
7 changes: 7 additions & 0 deletions charts/osm/templates/zipkin-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,10 @@ spec:
image: openzipkin/zipkin:2.21.4
ports:
- containerPort: {{.Values.OpenServiceMesh.grafana.port}}
resources:
limits:
cpu: 500m
memory: 512M
requests:
cpu: 100m
memory: 256M

0 comments on commit 67d781c

Please sign in to comment.