feat: add softAntiAffinity and zoneSoftAntiAffiny to volume spec

ref: longhorn/longhorn 5358

Signed-off-by: Jack Lin <jack.lin@suse.com>
This commit is contained in:
Jack Lin 2023-05-11 17:50:16 +08:00 committed by David Ko
parent 13bf7b6af0
commit 2cd50c6ff8
2 changed files with 28 additions and 0 deletions

View File

@ -3417,6 +3417,20 @@ spec:
- least-effort
- best-effort
type: string
replicaSoftAntiAffinity:
description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node
enum:
- ignored
- enabled
- disabled
type: string
replicaZoneSoftAntiAffinity:
description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone
enum:
- ignored
- enabled
- disabled
type: string
revisionCounterDisabled:
type: boolean
size:

View File

@ -3565,6 +3565,20 @@ spec:
- least-effort
- best-effort
type: string
replicaSoftAntiAffinity:
description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node
enum:
- ignored
- enabled
- disabled
type: string
replicaZoneSoftAntiAffinity:
description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone
enum:
- ignored
- enabled
- disabled
type: string
revisionCounterDisabled:
type: boolean
size: