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
|
app: platform-quality-suite-probe
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: Never
|
restartPolicy: Never
|
||||||
|
nodeSelector:
|
||||||
|
node-role.kubernetes.io/worker: "true"
|
||||||
|
affinity:
|
||||||
|
nodeAffinity:
|
||||||
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: hardware
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- rpi5
|
||||||
|
- rpi4
|
||||||
containers:
|
containers:
|
||||||
- name: probe
|
- name: probe
|
||||||
image: curlimages/curl:8.12.1
|
image: curlimages/curl:8.12.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 10m
|
||||||
|
memory: 32Mi
|
||||||
|
limits:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 128Mi
|
||||||
command: ["/bin/sh", "/scripts/platform_quality_suite_probe.sh"]
|
command: ["/bin/sh", "/scripts/platform_quality_suite_probe.sh"]
|
||||||
env:
|
env:
|
||||||
- name: PUSHGATEWAY_URL
|
- name: PUSHGATEWAY_URL
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user