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:
parent
13bf7b6af0
commit
2cd50c6ff8
@ -3417,6 +3417,20 @@ spec:
|
|||||||
- least-effort
|
- least-effort
|
||||||
- best-effort
|
- best-effort
|
||||||
type: string
|
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:
|
revisionCounterDisabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
size:
|
size:
|
||||||
|
@ -3565,6 +3565,20 @@ spec:
|
|||||||
- least-effort
|
- least-effort
|
||||||
- best-effort
|
- best-effort
|
||||||
type: string
|
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:
|
revisionCounterDisabled:
|
||||||
type: boolean
|
type: boolean
|
||||||
size:
|
size:
|
||||||
|
Loading…
Reference in New Issue
Block a user