quality: loosen sonarqube placement pressure
This commit is contained in:
parent
37fe1d5d24
commit
baa8e96fcc
@ -18,6 +18,10 @@ spec:
|
|||||||
annotations:
|
annotations:
|
||||||
vault.hashicorp.com/agent-inject: "true"
|
vault.hashicorp.com/agent-inject: "true"
|
||||||
vault.hashicorp.com/role: "quality"
|
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-secret-sonarqube-db-env.sh: "kv/data/atlas/quality/sonarqube-db"
|
||||||
vault.hashicorp.com/agent-inject-template-sonarqube-db-env.sh: |
|
vault.hashicorp.com/agent-inject-template-sonarqube-db-env.sh: |
|
||||||
{{- with secret "kv/data/atlas/quality/sonarqube-db" -}}
|
{{- with secret "kv/data/atlas/quality/sonarqube-db" -}}
|
||||||
@ -38,7 +42,7 @@ spec:
|
|||||||
values: ["arm64"]
|
values: ["arm64"]
|
||||||
- key: hardware
|
- key: hardware
|
||||||
operator: In
|
operator: In
|
||||||
values: ["rpi5"]
|
values: ["rpi5", "rpi4"]
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
preference:
|
preference:
|
||||||
@ -46,6 +50,12 @@ spec:
|
|||||||
- key: hardware
|
- key: hardware
|
||||||
operator: In
|
operator: In
|
||||||
values: ["rpi5"]
|
values: ["rpi5"]
|
||||||
|
- weight: 95
|
||||||
|
preference:
|
||||||
|
matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: NotIn
|
||||||
|
values: ["titan-13", "titan-15", "titan-17", "titan-19"]
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: prepare-volume-permissions
|
- name: prepare-volume-permissions
|
||||||
image: busybox:1.36
|
image: busybox:1.36
|
||||||
@ -98,7 +108,7 @@ spec:
|
|||||||
failureThreshold: 6
|
failureThreshold: 6
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 500m
|
cpu: 250m
|
||||||
memory: 2Gi
|
memory: 2Gi
|
||||||
limits:
|
limits:
|
||||||
cpu: "2"
|
cpu: "2"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user