Skip to content

Commit

Permalink
Merge pull request camilb#46 from camilb/fix-memory-requests
Browse files Browse the repository at this point in the history
Fix memory request propagation to statefulsets.
  • Loading branch information
camilb authored Dec 29, 2017
2 parents cef6143 + 2489a4a commit 75cb828
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/prometheus/prometheus-k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ spec:
role: prometheus-rulefiles
prometheus: k8s
resources:
requests:
memory: PROMETHEUS_MEMORY_REQUEST
retention: PROMETHEUS_STORAGE_RETENTION
storage:
volumeClaimTemplate:
Expand All @@ -38,8 +40,6 @@ spec:
resources:
requests:
storage: PROMETHEUS_STORAGE_VOLUME_SIZE
requests:
memory: PROMETHEUS_MEMORY_REQUEST
alerting:
alertmanagers:
- namespace: monitoring
Expand Down

0 comments on commit 75cb828

Please sign in to comment.