monitoring: reschedule grafana user dedupe
This commit is contained in:
parent
5ae6b4b00c
commit
2e407e1962
@ -2,7 +2,7 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: grafana-user-dedupe-api-v6
|
||||
name: grafana-user-dedupe-api-v7
|
||||
namespace: monitoring
|
||||
spec:
|
||||
backoffLimit: 1
|
||||
@ -22,6 +22,20 @@ spec:
|
||||
serviceAccountName: monitoring-vault-sync
|
||||
automountServiceAccountToken: true
|
||||
restartPolicy: Never
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/worker
|
||||
operator: Exists
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- weight: 100
|
||||
preference:
|
||||
matchExpressions:
|
||||
- key: kubernetes.io/arch
|
||||
operator: In
|
||||
values: ["arm64"]
|
||||
containers:
|
||||
- name: dedupe
|
||||
image: python:3.12-slim
|
||||
@ -124,6 +138,6 @@ spec:
|
||||
echo "done"
|
||||
env:
|
||||
- name: GRAFANA_URL
|
||||
value: http://grafana
|
||||
value: http://grafana.monitoring.svc.cluster.local
|
||||
- name: GRAFANA_DEDUPE_EMAILS
|
||||
value: brad.stein@gmail.com,brad@bstein.dev
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user