Merge pull request #65 from MealCraft/faeture/fix_duplicate_contact_issue

add node affinity
This commit is contained in:
Jun-te Kim 2026-02-14 14:06:36 +00:00 committed by GitHub
commit fbae355056
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,6 +14,14 @@ spec:
storageClassName: local-storage storageClassName: local-storage
hostPath: hostPath:
path: /home/kimjunte/k8s_storage/postgres/${PG_VOLUME} path: /home/kimjunte/k8s_storage/postgres/${PG_VOLUME}
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- mist
--- ---
# -------------------------------------------------- # --------------------------------------------------