apiVersion: v1 kind: ConfigMap metadata: name: longhorn-default-setting namespace: longhorn-system data: default-setting.yaml: |- backup-target: nfs://192.168.1.201:/mnt/Main/backup/longhorn backup-target-credential-secret: allow-recurring-job-while-volume-detached: create-default-disk-labeled-nodes: default-data-path: replica-soft-anti-affinity: replica-auto-balance: storage-over-provisioning-percentage: storage-minimal-available-percentage: upgrade-checker: default-replica-count: 2 default-data-locality: default-longhorn-static-storage-class: longhorn-static backupstore-poll-interval: taint-toleration: system-managed-components-node-selector: priority-class: auto-salvage: auto-delete-pod-when-volume-detached-unexpectedly: disable-scheduling-on-cordoned-node: replica-zone-soft-anti-affinity: node-down-pod-deletion-policy: allow-node-drain-with-last-healthy-replica: mkfs-ext4-parameters: disable-replica-rebuild: replica-replenishment-wait-interval: concurrent-replica-rebuild-per-node-limit: disable-revision-counter: system-managed-pods-image-pull-policy: allow-volume-creation-with-degraded-availability: auto-cleanup-system-generated-snapshot: concurrent-automatic-engine-upgrade-per-node-limit: backing-image-cleanup-wait-interval: backing-image-recovery-wait-interval: guaranteed-engine-manager-cpu: guaranteed-replica-manager-cpu: --- apiVersion: v1 kind: ConfigMap metadata: name: longhorn-storageclass namespace: longhorn-system data: storageclass.yaml: | kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: longhorn-static provisioner: driver.longhorn.io allowVolumeExpansion: true reclaimPolicy: Retain volumeBindingMode: Immediate parameters: fsType: "ext4" numberOfReplicas: "2" staleReplicaTimeout: "2880" fromBackup: "" nodeSelector: "storage"