From 454d7ca65316d1fe98ed7d8f7cb78dd8cc81fc61 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Tue, 17 Oct 2023 18:06:28 -0400 Subject: [PATCH] Default Limits --- k8s/argoapps/templates/cluster-limits.yaml | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 k8s/argoapps/templates/cluster-limits.yaml diff --git a/k8s/argoapps/templates/cluster-limits.yaml b/k8s/argoapps/templates/cluster-limits.yaml new file mode 100644 index 0000000..33fe4b3 --- /dev/null +++ b/k8s/argoapps/templates/cluster-limits.yaml @@ -0,0 +1,24 @@ +--- +apiVersion: v1 +kind: LimitRange +metadata: + name: cpu-limit-range +spec: + limits: + - default: + cpu: 50m + defaultRequest: + cpu: 10m + type: Container +--- +apiVersion: v1 +kind: LimitRange +metadata: + name: mem-limit-range +spec: + limits: + - default: + memory: 50Mi + defaultRequest: + memory: 25Mi + type: Container \ No newline at end of file