Correct affinity spec.

This commit is contained in:
Joseph Hanson 2023-12-21 09:04:08 -06:00
parent 2771f572c7
commit 36eadfa2fa

View file

@ -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