Add more resources to metrics

This commit is contained in:
Stefan Reimer 2021-03-22 11:41:26 +01:00
parent a2355df60f
commit 27c1be4085
2 changed files with 14 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-metrics name: kubezero-metrics
description: KubeZero Umbrella Chart for prometheus-operator description: KubeZero Umbrella Chart for prometheus-operator
type: application type: application
version: 0.3.3 version: 0.3.4
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
keywords: keywords:

View File

@ -54,6 +54,12 @@ kube-prometheus-stack:
effect: NoSchedule effect: NoSchedule
nodeSelector: nodeSelector:
node-role.kubernetes.io/master: "" node-role.kubernetes.io/master: ""
resources:
requests:
cpu: 20m
memory: 32Mi
limits:
memory: 64Mi
namespaces: namespaces:
releaseNamespace: true releaseNamespace: true
@ -79,6 +85,10 @@ kube-prometheus-stack:
targetLabel: node targetLabel: node
replacement: $1 replacement: $1
action: replace action: replace
resources:
requests:
cpu: 20m
memory: 16Mi
prometheus: prometheus:
enabled: true enabled: true
@ -91,10 +101,10 @@ kube-prometheus-stack:
resources: resources:
requests: requests:
memory: "1Gi" memory: 512Mi
cpu: "500m" cpu: 500m
limits: limits:
memory: "3Gi" memory: 3Gi
# cpu: "1000m" # cpu: "1000m"
storageSpec: storageSpec: