From baa8e96fcc22dbcb10577dd0209fc9ffcabb762b Mon Sep 17 00:00:00 2001 From: jenkins Date: Tue, 19 May 2026 16:41:03 -0300 Subject: [PATCH] quality: loosen sonarqube placement pressure --- services/quality/sonarqube-deployment.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/services/quality/sonarqube-deployment.yaml b/services/quality/sonarqube-deployment.yaml index 2c2f2bdd..90847003 100644 --- a/services/quality/sonarqube-deployment.yaml +++ b/services/quality/sonarqube-deployment.yaml @@ -18,6 +18,10 @@ spec: annotations: vault.hashicorp.com/agent-inject: "true" vault.hashicorp.com/role: "quality" + vault.hashicorp.com/agent-requests-cpu: "25m" + vault.hashicorp.com/agent-limits-cpu: "100m" + vault.hashicorp.com/agent-requests-mem: "32Mi" + vault.hashicorp.com/agent-limits-mem: "128Mi" vault.hashicorp.com/agent-inject-secret-sonarqube-db-env.sh: "kv/data/atlas/quality/sonarqube-db" vault.hashicorp.com/agent-inject-template-sonarqube-db-env.sh: | {{- with secret "kv/data/atlas/quality/sonarqube-db" -}} @@ -38,7 +42,7 @@ spec: values: ["arm64"] - key: hardware operator: In - values: ["rpi5"] + values: ["rpi5", "rpi4"] preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 preference: @@ -46,6 +50,12 @@ spec: - key: hardware operator: In values: ["rpi5"] + - weight: 95 + preference: + matchExpressions: + - key: kubernetes.io/hostname + operator: NotIn + values: ["titan-13", "titan-15", "titan-17", "titan-19"] initContainers: - name: prepare-volume-permissions image: busybox:1.36 @@ -98,7 +108,7 @@ spec: failureThreshold: 6 resources: requests: - cpu: 500m + cpu: 250m memory: 2Gi limits: cpu: "2"