Add ReplicaDiskSoftAntiAffinity setting
Signed-off-by: Eric Weber <eric.weber@suse.com>
This commit is contained in:
parent
8615cfc8d9
commit
dd3f5584f6
@ -432,6 +432,12 @@ If disabled, Longhorn will not delete the workload pod that is managed by a cont
|
||||
group: "Longhorn Default Settings"
|
||||
type: boolean
|
||||
default: "true"
|
||||
- variable: defaultSettings.replicaDiskSoftAntiAffinity
|
||||
label: Replica Disk Level Soft Anti-Affinity
|
||||
description: 'Allow scheduling on disks with existing healthy replicas of the same volume. By default true.'
|
||||
group: "Longhorn Default Settings"
|
||||
type: boolean
|
||||
default: "true"
|
||||
- variable: defaultSettings.allowEmptyNodeSelectorVolume
|
||||
label: Allow Empty Node Selector Volume
|
||||
description: "Allow Scheduling Empty Node Selector Volumes To Any Node"
|
||||
|
@ -3380,15 +3380,22 @@ spec:
|
||||
- least-effort
|
||||
- best-effort
|
||||
type: string
|
||||
replicaDiskSoftAntiAffinity:
|
||||
description: Replica disk soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same disk.
|
||||
enum:
|
||||
- ignored
|
||||
- enabled
|
||||
- disabled
|
||||
type: string
|
||||
replicaSoftAntiAffinity:
|
||||
description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node
|
||||
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
|
||||
description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone.
|
||||
enum:
|
||||
- ignored
|
||||
- enabled
|
||||
|
@ -51,6 +51,7 @@ data:
|
||||
{{ if not (kindIs "invalid" .Values.defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly) }}auto-delete-pod-when-volume-detached-unexpectedly: {{ .Values.defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly }}{{ end }}
|
||||
{{ if not (kindIs "invalid" .Values.defaultSettings.disableSchedulingOnCordonedNode) }}disable-scheduling-on-cordoned-node: {{ .Values.defaultSettings.disableSchedulingOnCordonedNode }}{{ end }}
|
||||
{{ if not (kindIs "invalid" .Values.defaultSettings.replicaZoneSoftAntiAffinity) }}replica-zone-soft-anti-affinity: {{ .Values.defaultSettings.replicaZoneSoftAntiAffinity }}{{ end }}
|
||||
{{ if not (kindIs "invalid" .Values.defaultSettings.replicaDiskSoftAntiAffinity) }}replica-disk-soft-anti-affinity: {{ .Values.defaultSettings.replicaDiskSoftAntiAffinity }}{{ end }}
|
||||
{{ if not (kindIs "invalid" .Values.defaultSettings.nodeDownPodDeletionPolicy) }}node-down-pod-deletion-policy: {{ .Values.defaultSettings.nodeDownPodDeletionPolicy }}{{ end }}
|
||||
{{ if not (kindIs "invalid" .Values.defaultSettings.nodeDrainPolicy) }}node-drain-policy: {{ .Values.defaultSettings.nodeDrainPolicy }}{{ end }}
|
||||
{{ if not (kindIs "invalid" .Values.defaultSettings.replicaReplenishmentWaitInterval) }}replica-replenishment-wait-interval: {{ .Values.defaultSettings.replicaReplenishmentWaitInterval }}{{ end }}
|
||||
|
@ -141,6 +141,7 @@ defaultSettings:
|
||||
autoDeletePodWhenVolumeDetachedUnexpectedly: ~
|
||||
disableSchedulingOnCordonedNode: ~
|
||||
replicaZoneSoftAntiAffinity: ~
|
||||
replicaDiskSoftAntiAffinity: ~
|
||||
nodeDownPodDeletionPolicy: ~
|
||||
nodeDrainPolicy: ~
|
||||
replicaReplenishmentWaitInterval: ~
|
||||
|
@ -3539,15 +3539,22 @@ spec:
|
||||
- least-effort
|
||||
- best-effort
|
||||
type: string
|
||||
replicaDiskSoftAntiAffinity:
|
||||
description: Replica disk soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same disk.
|
||||
enum:
|
||||
- ignored
|
||||
- enabled
|
||||
- disabled
|
||||
type: string
|
||||
replicaSoftAntiAffinity:
|
||||
description: Replica soft anti affinity of the volume. Set enabled to allow replicas to be scheduled on the same node
|
||||
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
|
||||
description: Replica zone soft anti affinity of the volume. Set enabled to allow replicas to be scheduled in the same zone.
|
||||
enum:
|
||||
- ignored
|
||||
- enabled
|
||||
|
Loading…
Reference in New Issue
Block a user