Add nodeAffinity

This commit is contained in:
2025-12-01 11:29:16 +11:00
parent 8ef4c9a6f2
commit 36e22529bf
+8
View File
@@ -15,6 +15,14 @@ spec:
storageClassName: local-storage
local:
path: /mnt/k8s/grafana
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- server-3
---