mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 14:02:56 +09:00
feat(linstor): enable auto-diskful for diskless nodes
Add DRBD options to automatically convert diskless nodes to diskful when they remain in Primary state for more than 30 minutes. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
2 files changed
+12
No files matched your search
@@ -14,6 +14,12 @@ spec:
|
||||
name: linstor-api-ca
|
||||
kind: Issuer
|
||||
properties:
|
||||
{{- if .Values.linstor.autoDiskful.enabled }}
|
||||
- name: DrbdOptions/auto-diskful
|
||||
value: {{ .Values.linstor.autoDiskful.minutes | quote }}
|
||||
- name: DrbdOptions/auto-diskful-allow-cleanup
|
||||
value: {{ .Values.linstor.autoDiskful.allowCleanup | quote }}
|
||||
{{- end }}
|
||||
- name: DrbdOptions/Net/connect-int
|
||||
value: "15"
|
||||
- name: DrbdOptions/Net/ping-int
|
||||
|
||||
@@ -2,3 +2,9 @@ piraeusServer:
|
||||
image:
|
||||
repository: ghcr.io/cozystack/cozystack/piraeus-server
|
||||
tag: latest@sha256:417532baa2801288147cd9ac9ae260751c1a7754f0b829725d09b72a770c111a
|
||||
|
||||
linstor:
|
||||
autoDiskful:
|
||||
enabled: true
|
||||
minutes: 30
|
||||
allowCleanup: true
|
||||
Reference in new issue
Block a user