Removes duplicate longhorn-kafka StorageClass managed by Kafka chart. All applications now use single 'longhorn' StorageClass (3 replicas, Immediate binding). Changes: - Kafka chart: use 'longhorn' instead of 'longhorn-kafka' - Delete Kafka StorageClass template (no longer needed) - Update longhorn-storageclass.yaml to match deployed config (Immediate, not WaitForFirstConsumer) Existing Kafka PVCs remain bound to old longhorn-kafka StorageClass (safe - no data loss). New PVCs will use unified 'longhorn' StorageClass.
22 lines
866 B
YAML
22 lines
866 B
YAML
# Longhorn StorageClass - single unified storage class for the entire cluster
|
|
# Replaces: longhorn-wffc, longhorn-kafka, longhorn-static (all deprecated)
|
|
apiVersion: storage.k8s.io/v1
|
|
kind: StorageClass
|
|
metadata:
|
|
name: longhorn
|
|
annotations:
|
|
storageclass.kubernetes.io/is-default-class: "true"
|
|
description: "Longhorn distributed storage - 3 replicas, WaitForFirstConsumer"
|
|
provisioner: driver.longhorn.io
|
|
allowVolumeExpansion: true
|
|
reclaimPolicy: Delete
|
|
volumeBindingMode: Immediate # Immediate binding for StatefulSets (matches deployed config)
|
|
parameters:
|
|
numberOfReplicas: "3" # HA across all 3 nodes
|
|
staleReplicaTimeout: "30"
|
|
fromBackup: ""
|
|
dataLocality: "disabled" # Match deployed config (not best-effort)
|
|
fsType: "ext4"
|
|
disableRevisionCounter: "true" # Performance optimization
|
|
unmapMarkSnapChainRemoved: "ignored"
|