1+ # =============================================================================
2+ # 10G SMB Storage Classes (192.168.10.133) - Optimized for 10G
3+ # =============================================================================
4+
15# ComfyUI specific storage class
26apiVersion : storage.k8s.io/v1
37kind : StorageClass
@@ -7,13 +11,18 @@ provisioner: smb.csi.k8s.io
711parameters :
812 source : //192.168.10.133/k8s/comfyui
913 csi.storage.k8s.io/node-stage-secret-name : smbcreds
10- # ✅ CORRECTED: Point to the namespace where the secret is actually created
1114 csi.storage.k8s.io/node-stage-secret-namespace : csi-driver-smb
1215mountOptions :
1316 - dir_mode=0770
1417 - file_mode=0660
1518 - vers=3.0
16- - noserverino # Recommended for stability
19+ - noserverino
20+ - cache=loose
21+ - rsize=4194304
22+ - wsize=4194304
23+ - actimeo=60
24+ - echo_interval=60
25+ - max_credits=64
1726reclaimPolicy : Retain
1827volumeBindingMode : Immediate
1928allowVolumeExpansion : true
@@ -25,15 +34,20 @@ metadata:
2534 name : ollama-smb
2635provisioner : smb.csi.k8s.io
2736parameters :
28- # Point directly to the ollama subfolder on the SMB share
2937 source : //192.168.10.133/k8s/ollama
3038 csi.storage.k8s.io/node-stage-secret-name : smbcreds
3139 csi.storage.k8s.io/node-stage-secret-namespace : csi-driver-smb
3240mountOptions :
3341 - dir_mode=0770
3442 - file_mode=0660
3543 - vers=3.0
36- - noserverino # Recommended for stability
44+ - noserverino
45+ - cache=loose
46+ - rsize=4194304
47+ - wsize=4194304
48+ - actimeo=60
49+ - echo_interval=60
50+ - max_credits=64
3751reclaimPolicy : Retain
3852volumeBindingMode : Immediate
3953allowVolumeExpansion : true
@@ -45,15 +59,20 @@ metadata:
4559 name : frigate-smb
4660provisioner : smb.csi.k8s.io
4761parameters :
48- # Point directly to the ollama subfolder on the SMB share
4962 source : //192.168.10.133/k8s/frigate
5063 csi.storage.k8s.io/node-stage-secret-name : smbcreds
5164 csi.storage.k8s.io/node-stage-secret-namespace : csi-driver-smb
5265mountOptions :
5366 - dir_mode=0770
5467 - file_mode=0660
5568 - vers=3.0
56- - noserverino # Recommended for stability
69+ - noserverino
70+ - cache=loose
71+ - rsize=4194304
72+ - wsize=4194304
73+ - actimeo=60
74+ - echo_interval=60
75+ - max_credits=64
5776reclaimPolicy : Retain
5877volumeBindingMode : Immediate
5978allowVolumeExpansion : true
@@ -65,20 +84,25 @@ metadata:
6584 name : llama-cpp-smb
6685provisioner : smb.csi.k8s.io
6786parameters :
68- # Point directly to the ollama subfolder on the SMB share
6987 source : //192.168.10.133/k8s/llama-cpp
7088 csi.storage.k8s.io/node-stage-secret-name : smbcreds
7189 csi.storage.k8s.io/node-stage-secret-namespace : csi-driver-smb
7290mountOptions :
7391 - dir_mode=0770
7492 - file_mode=0660
7593 - vers=3.0
76- - noserverino # Recommended for stability
94+ - noserverino
95+ - cache=loose
96+ - rsize=4194304
97+ - wsize=4194304
98+ - actimeo=60
99+ - echo_interval=60
100+ - max_credits=64
77101reclaimPolicy : Retain
78102volumeBindingMode : Immediate
79103allowVolumeExpansion : true
80104---
81- # tubearchivist specific storage class (uses 2.5G network - not AI workload)
105+ # tubearchivist specific storage class
82106apiVersion : storage.k8s.io/v1
83107kind : StorageClass
84108metadata :
@@ -92,12 +116,18 @@ mountOptions:
92116 - dir_mode=0770
93117 - file_mode=0660
94118 - vers=3.0
95- - noserverino # Recommended for stability
119+ - noserverino
120+ - cache=loose
121+ - rsize=4194304
122+ - wsize=4194304
123+ - actimeo=60
124+ - echo_interval=60
125+ - max_credits=64
96126reclaimPolicy : Retain
97127volumeBindingMode : Immediate
98128allowVolumeExpansion : true
99129---
100- # kiwix specific storage class (uses 2.5G network - not AI workload)
130+ # kiwix specific storage class
101131apiVersion : storage.k8s.io/v1
102132kind : StorageClass
103133metadata :
@@ -112,6 +142,12 @@ mountOptions:
112142 - file_mode=0660
113143 - vers=3.0
114144 - noserverino
145+ - cache=loose
146+ - rsize=4194304
147+ - wsize=4194304
148+ - actimeo=60
149+ - echo_interval=60
150+ - max_credits=64
115151reclaimPolicy : Retain
116152volumeBindingMode : Immediate
117- allowVolumeExpansion : true
153+ allowVolumeExpansion : true
0 commit comments