aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/common')
-rw-r--r--kubernetes/common/common/templates/_log.tpl4
-rw-r--r--kubernetes/common/common/templates/_mariadb.tpl8
-rw-r--r--kubernetes/common/common/templates/_resources.tpl16
3 files changed, 14 insertions, 14 deletions
diff --git a/kubernetes/common/common/templates/_log.tpl b/kubernetes/common/common/templates/_log.tpl
index 369c25b254..ca296c5b35 100644
--- a/kubernetes/common/common/templates/_log.tpl
+++ b/kubernetes/common/common/templates/_log.tpl
@@ -29,11 +29,11 @@
mountPath: /usr/share/filebeat/data
resources:
requests:
- memory: "5Mi"
cpu: "10m"
+ memory: "0.005Gi"
limits:
- memory: "20Mi"
cpu: "100m"
+ memory: "0.02Gi"
{{- end -}}
{{- end -}}
diff --git a/kubernetes/common/common/templates/_mariadb.tpl b/kubernetes/common/common/templates/_mariadb.tpl
index a0dd49d750..427e0cbad2 100644
--- a/kubernetes/common/common/templates/_mariadb.tpl
+++ b/kubernetes/common/common/templates/_mariadb.tpl
@@ -227,11 +227,11 @@ spec:
{{- end }}
resources:
requests:
- cpu: 100m
- memory: 128Mi
+ cpu: "100m"
+ memory: "0.1Gi"
limits:
- cpu: 300m
- memory: 512Mi
+ cpu: "300m"
+ memory: "0.5Gi"
{{- end -}}
{{/*
diff --git a/kubernetes/common/common/templates/_resources.tpl b/kubernetes/common/common/templates/_resources.tpl
index cd60b996ce..11177c76fb 100644
--- a/kubernetes/common/common/templates/_resources.tpl
+++ b/kubernetes/common/common/templates/_resources.tpl
@@ -39,18 +39,18 @@
e.g: resources:
small:
limits:
- cpu: 200m
- memory: 4Gi
+ cpu: "200m"
+ memory: "4Gi"
requests:
- cpu: 100m
- memory: 1Gi
+ cpu: "100m"
+ memory: "1Gi"
large:
limits:
- cpu: 400m
- memory: 8Gi
+ cpu: "400m"
+ memory: "8Gi"
requests:
- cpu: 200m
- memory: 2Gi
+ cpu: "200m"
+ memory: "2Gi"
unlimited: {}
*/ -}}
{{- define "common.resources" -}}