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
|
bdev_async_discard = true
|
||||||
|
|
||||||
cephClusterSpec:
|
cephClusterSpec:
|
||||||
|
mon:
|
||||||
|
count: 3
|
||||||
network:
|
network:
|
||||||
provider: host
|
provider: host
|
||||||
placement:
|
placement:
|
||||||
mon:
|
mon:
|
||||||
affinity:
|
nodeAffinity:
|
||||||
nodeAffinity:
|
requiredDuringSchedulingIgnoredDuringExecution:
|
||||||
requiredDuringSchedulingIgnoredDuringExecution:
|
nodeSelectorTerms:
|
||||||
nodeSelectorTerms:
|
- matchExpressions:
|
||||||
- matchExpressions:
|
- key: role
|
||||||
- key: node-role.kubernetes.io/control-plane
|
operator: In
|
||||||
operator: Exists
|
values:
|
||||||
|
- storage-node
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue