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