monitoring: keep quality probe on worker nodes
This commit is contained in:
parent
6388ef5c6d
commit
b367c6dea3
@ -18,10 +18,29 @@ spec:
|
||||
app: platform-quality-suite-probe
|
||||
spec:
|
||||
restartPolicy: Never
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/worker: "true"
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: hardware
|
||||
operator: In
|
||||
values:
|
||||
- rpi5
|
||||
- rpi4
|
||||
containers:
|
||||
- name: probe
|
||||
image: curlimages/curl:8.12.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
resources:
|
||||
requests:
|
||||
cpu: 10m
|
||||
memory: 32Mi
|
||||
limits:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
command: ["/bin/sh", "/scripts/platform_quality_suite_probe.sh"]
|
||||
env:
|
||||
- name: PUSHGATEWAY_URL
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user