Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions monitoring/utils/grafana/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@ spec:
- image: grafana/grafana:latest
imagePullPolicy: Always
name: grafana
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "500m"
securityContext:
runAsUser: 1000
runAsNonRoot: true
readOnlyRootFilesystem: true
ports:
- containerPort: 3000
name: grafana
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ spec:
env:
- name: TSDB_SCRAPE_INTERVAL
value: '10'
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "500m"
securityContext:
runAsUser: 1000
runAsNonRoot: true
readOnlyRootFilesystem: true
# uncomment the following lines to use the litmuschaos exporter for monitoring the chaos events and chaosresults for a selected namespace
# - name: WATCH_NAMESPACE
# value: 'litmus'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ spec:
- '--collect.engine_innodb_status'
- '--collect.slave_hosts'
name: mysql-exporter
resources:
requests:
memory: "256Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "500m"
securityContext:
runAsUser: 1000
runAsNonRoot: true
readOnlyRootFilesystem: true
ports:
- containerPort: 9104
name: mysql-metrics