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