mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-08 20:15:03 +10:00
Add nodeAffinity
This commit is contained in:
@@ -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
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user