about summary refs log tree commit diff
path: root/bundles/smb/files/kube.yaml
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2025-09-07 17:32:13 +0200
committerRobert Günzler <r@gnzler.io>2025-09-07 17:42:42 +0200
commit38be6c13f76e893cf47636257071b440dec0c5b2 (patch)
treef7ded3235a7e3362cbd1ed3d91523968fe0faf90 /bundles/smb/files/kube.yaml
initial commit
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/smb/files/kube.yaml')
-rw-r--r--bundles/smb/files/kube.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/bundles/smb/files/kube.yaml b/bundles/smb/files/kube.yaml
new file mode 100644
index 0000000..3f0e074
--- /dev/null
+++ b/bundles/smb/files/kube.yaml
@@ -0,0 +1,46 @@
+apiVersion: v1
+kind: Pod
+metadata:
+  name: smb
+  labels:
+    traefik.enable: false
+spec:
+  restartPolicy: Never
+  dnsPolicy: Default
+  containers:
+    - name: smb
+      image: docker.io/dockurr/samba:4.20.2
+      volumeMounts:
+        - name: smb-config
+          mountPath: /etc/samba
+        - name: smb-data-scratch
+          mountPath: /storage/scratch
+        - name: smb-data-hayasui
+          mountPath: /storage/hayasui
+        # - name: smb-data-bigdump
+        #   mountPath: /storage/bigdump
+      resources:
+        limits:
+          cpu: 10m
+          memory: 50Mi
+  ports:
+    - containerPort: 445
+      hostPort: 445
+      protocol: TCP
+  volumes:
+    - name: smb-config
+      hostPath:
+        path: /var/lib/smb/config
+        type: DirectoryOrCreate
+    - name: smb-data-scratch
+      hostPath:
+        path: /var/lib/smb/data
+        type: DirectoryOrCreate
+    - name: smb-data-hayasui
+      hostPath:
+        path: /media/hayasui
+        type: Directory
+    # - name: smb-data-bigdump
+    #   hostPath:
+    #     path: /media/bigdump
+    #     type: Directory