quality: loosen sonarqube placement pressure
This commit is contained in:
parent
37fe1d5d24
commit
baa8e96fcc
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user