monitoring: keep quality gateway on stable workers
This commit is contained in:
parent
c404a967d0
commit
b5a79e8091
@ -9,6 +9,8 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
revisionHistoryLimit: 3
|
revisionHistoryLimit: 3
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: platform-quality-gateway
|
app: platform-quality-gateway
|
||||||
@ -25,7 +27,14 @@ spec:
|
|||||||
- key: kubernetes.io/hostname
|
- key: kubernetes.io/hostname
|
||||||
operator: NotIn
|
operator: NotIn
|
||||||
values:
|
values:
|
||||||
|
- titan-07
|
||||||
|
- titan-11
|
||||||
- titan-22
|
- titan-22
|
||||||
|
- titan-24
|
||||||
|
- key: hardware
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- rpi5
|
||||||
containers:
|
containers:
|
||||||
- name: pushgateway
|
- name: pushgateway
|
||||||
image: prom/pushgateway:v1.11.2
|
image: prom/pushgateway:v1.11.2
|
||||||
@ -63,4 +72,3 @@ spec:
|
|||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: platform-quality-gateway-data
|
claimName: platform-quality-gateway-data
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user