From da278556edbd2126bd09ab3cfb900574c9b1c498 Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sun, 13 Oct 2019 13:42:34 +0200 Subject: [PATCH] Adapt CPU resource request and limit After the new pod wasn't able to be scheduled due to insufficient CPU resources, I checked the current usage and it was well below the requested amount. Lowering request and limit fixed the deployment issue. --- kubernetes/gitea-server.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubernetes/gitea-server.yaml b/kubernetes/gitea-server.yaml index f20f362..fa400f4 100644 --- a/kubernetes/gitea-server.yaml +++ b/kubernetes/gitea-server.yaml @@ -42,10 +42,10 @@ spec: name: gitea-server-data resources: requests: - cpu: 250m + cpu: 150m memory: 256Mi limits: - cpu: 500m + cpu: 250m memory: 512Mi restartPolicy: Always volumes: