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:
Andrei KvapilandClaude committed 2026-01-07 15:44:30 +01:00
1 parent 0fb02e6470
commit 115df4a2fa
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
+6
View File
@@ -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