monitoring: reschedule grafana user dedupe
This commit is contained in:
parent
5ae6b4b00c
commit
2e407e1962
@ -2,7 +2,7 @@
|
|||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
metadata:
|
metadata:
|
||||||
name: grafana-user-dedupe-api-v6
|
name: grafana-user-dedupe-api-v7
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
spec:
|
spec:
|
||||||
backoffLimit: 1
|
backoffLimit: 1
|
||||||
@ -22,6 +22,20 @@ spec:
|
|||||||
serviceAccountName: monitoring-vault-sync
|
serviceAccountName: monitoring-vault-sync
|
||||||
automountServiceAccountToken: true
|
automountServiceAccountToken: true
|
||||||
restartPolicy: Never
|
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:
|
containers:
|
||||||
- name: dedupe
|
- name: dedupe
|
||||||
image: python:3.12-slim
|
image: python:3.12-slim
|
||||||
@ -124,6 +138,6 @@ spec:
|
|||||||
echo "done"
|
echo "done"
|
||||||
env:
|
env:
|
||||||
- name: GRAFANA_URL
|
- name: GRAFANA_URL
|
||||||
value: http://grafana
|
value: http://grafana.monitoring.svc.cluster.local
|
||||||
- name: GRAFANA_DEDUPE_EMAILS
|
- name: GRAFANA_DEDUPE_EMAILS
|
||||||
value: brad.stein@gmail.com,brad@bstein.dev
|
value: brad.stein@gmail.com,brad@bstein.dev
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user