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
description: KubeZero Umbrella Chart for prometheus-operator
type: application
version: 0.3.3
version: 0.3.4
home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
keywords:

View File

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