diff --git a/infrastructure/prometheus/release.yaml b/infrastructure/prometheus/release.yaml index 72ce1f2f455d687a090f4e32e7ff4be774943090..d37e3164fe0f0f5b66837b417f8b43808ad1d01b 100644 --- a/infrastructure/prometheus/release.yaml +++ b/infrastructure/prometheus/release.yaml @@ -523,9 +523,9 @@ spec: ## Define resources requests and limits for single Pods. ## ref: https://kubernetes.io/docs/user-guide/compute-resources/ ## - resources: {} - # requests: - # memory: 400Mi + resources: + requests: + memory: 400Mi ## Pod anti-affinity can prevent the scheduler from placing Prometheus replicas on the same node. ## The default value "soft" means that the scheduler should *prefer* to not schedule two replica pods onto the same node but no guarantee is provided. @@ -1542,13 +1542,13 @@ spec: ## Resource limits & requests ## - resources: {} - # limits: - # cpu: 200m - # memory: 200Mi - # requests: - # cpu: 100m - # memory: 100Mi + resources: + limits: + cpu: 200m + memory: 200Mi + requests: + cpu: 100m + memory: 100Mi # Required for use in managed kubernetes clusters (such as AWS EKS) with custom CNI (such as calico), # because control-plane managed by AWS cannot communicate with pods' IP CIDR and admission webhooks are not working @@ -2300,8 +2300,10 @@ spec: ## Resource limits & requests ## resources: {} - # requests: - # memory: 400Mi + requests: + memory: 400Mi + limits: + memory: 1Gi ## Prometheus StorageSpec for persistent data ## ref: https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md