Merge pull request #65 from MealCraft/faeture/fix_duplicate_contact_issue
add node affinity
This commit is contained in:
commit
fbae355056
1 changed files with 8 additions and 0 deletions
|
|
@ -14,6 +14,14 @@ spec:
|
|||
storageClassName: local-storage
|
||||
hostPath:
|
||||
path: /home/kimjunte/k8s_storage/postgres/${PG_VOLUME}
|
||||
nodeAffinity:
|
||||
required:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
operator: In
|
||||
values:
|
||||
- mist
|
||||
|
||||
---
|
||||
# --------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue