Correct affinity spec.
This commit is contained in:
parent
2771f572c7
commit
36eadfa2fa
1 changed files with 10 additions and 7 deletions
|
@ -39,17 +39,20 @@ spec:
|
|||
bdev_async_discard = true
|
||||
|
||||
cephClusterSpec:
|
||||
mon:
|
||||
count: 3
|
||||
network:
|
||||
provider: host
|
||||
placement:
|
||||
mon:
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: Exists
|
||||
- key: role
|
||||
operator: In
|
||||
values:
|
||||
- storage-node
|
||||
|
||||
|
||||
|
||||
|
|
Reference in a new issue