From eecfc4b817f574f5ee030642130d60f0868664a9 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin <win10@list.ru> Date: Sun, 8 Aug 2021 14:40:39 +0400 Subject: [PATCH] Added k8s configurable limits. Signed-off-by: Pavel Kirilin <win10@list.ru> --- deploy/kube/deployment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/kube/deployment.yml b/deploy/kube/deployment.yml index b28db0a..18f943e 100644 --- a/deploy/kube/deployment.yml +++ b/deploy/kube/deployment.yml @@ -26,8 +26,8 @@ spec: image: docker.le-memese.com/bots/s3rius-bot:$APP_VERSION resources: limits: - cpu: 100m - memory: 100Mi + cpu: "$K8S_CPU_LIMITS" + memory: "$K8S_MEM_LIMITS" envFrom: - configMapRef: name: "$CONFIG_MAP" -- GitLab