From e6d9511c8f8cb36d36e62475a7bce95155614726 Mon Sep 17 00:00:00 2001 From: liaozan Date: Wed, 18 May 2022 11:46:55 +0800 Subject: [PATCH] Update k8s-deploy-template.yaml --- k8s-deploy-template.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index c0a98ad..745d80c 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -20,6 +20,9 @@ spec: - name: ${APP_NAME} image: ${IMAGE} imagePullPolicy: Always + resources: + limits: + memory: ${memoryLimit} ports: - containerPort: ${PORT} protocol: TCP -- GitLab