diff options
Diffstat (limited to 'bundles/smb/files/kube.yaml')
| -rw-r--r-- | bundles/smb/files/kube.yaml | 46 |
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 |