From ede4865cb4cdd3638c07d2b035aaec9905f4c998 Mon Sep 17 00:00:00 2001 From: Fabian Fischer Date: Fri, 4 Feb 2022 10:13:36 +0100 Subject: [PATCH] Increase default resource request/limit for API server * Increase memory limit and request. While memory usage was not higher during testing, increasing this can lead to better performance on a busy cluster, because caching * Allow CPU to spike for lower latency * Remove pull policy. This lead to some issues when using tag latest --- config/deployment/deployment.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/deployment/deployment.yaml b/config/deployment/deployment.yaml index ca722827..fd081eec 100644 --- a/config/deployment/deployment.yaml +++ b/config/deployment/deployment.yaml @@ -19,7 +19,6 @@ spec: containers: - name: apiserver image: ghcr.io/appuio/control-api:latest - imagePullPolicy: IfNotPresent ports: - containerPort: 9443 args: @@ -34,10 +33,10 @@ spec: resources: requests: cpu: 100m - memory: 20Mi + memory: 100Mi limits: - cpu: 100m - memory: 30Mi + cpu: 300m + memory: 200Mi volumes: - name: apiserver-certs emptyDir: {}