From aa75a49a1a02355e2df21aef9a898c04dfd28421 Mon Sep 17 00:00:00 2001 From: jackyu Date: Tue, 13 Jun 2023 17:41:36 +0800 Subject: [PATCH] update default resource momery of jenkins to 4g --- charts/ks-devops/charts/jenkins/values.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/ks-devops/charts/jenkins/values.yaml b/charts/ks-devops/charts/jenkins/values.yaml index 2225176..406fa88 100755 --- a/charts/ks-devops/charts/jenkins/values.yaml +++ b/charts/ks-devops/charts/jenkins/values.yaml @@ -18,16 +18,16 @@ Master: resources: requests: cpu: "50m" - memory: "256Mi" + memory: "4096Mi" limits: cpu: "2000m" - memory: "2048Mi" + memory: "4096Mi" UsePodSecurityContext: true JavaOpts: |- -XX:InitialRAMPercentage=70 -XX:MaxRAMPercentage=70 - -XX:MaxRAM=2g + -XX:MaxRAM=4g -Dhudson.slaves.NodeProvisioner.initialDelay=20 -Dhudson.slaves.NodeProvisioner.MARGIN=50 -Dhudson.slaves.NodeProvisioner.MARGIN0=0.85