monitoring: label cronjob metrics and move grafana to arm64

This commit is contained in:
Brad Stein 2026-01-18 12:20:45 -03:00
parent c70054a30e
commit 0eb526c907
2 changed files with 25 additions and 11 deletions

View File

@ -33,10 +33,3 @@ data:
permission: View
- role: Admin
permission: Admin
- uid: atlas-testing
title: Atlas Testing
permissions:
- role: Editor
permission: View
- role: Admin
permission: Admin

View File

@ -25,6 +25,8 @@ spec:
values:
- titan-22
prometheusScrape: false
metricLabelsAllowlist:
- cronjobs=[atlas.bstein.dev/glue]
---
@ -298,15 +300,34 @@ spec:
enabled: true
size: 20Gi
storageClassName: astreae
nodeSelector:
kubernetes.io/arch: arm64
node-role.kubernetes.io/worker: "true"
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: NotIn
- key: hardware
operator: In
values:
- titan-22
- rpi5
- rpi4
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
preference:
matchExpressions:
- key: hardware
operator: In
values:
- rpi5
- weight: 70
preference:
matchExpressions:
- key: hardware
operator: In
values:
- rpi4
deploymentStrategy:
type: Recreate
service:
@ -450,7 +471,7 @@ spec:
path: /var/lib/grafana/dashboards/mail
- name: testing
orgId: 1
folder: Atlas Testing
folder: Atlas Internal
type: file
disableDeletion: false
editable: true