Skip to content

Commit

Permalink
Move minio to NFS
Browse files Browse the repository at this point in the history
  • Loading branch information
erebe committed Jun 12, 2024
1 parent 2e3ca20 commit 79ade66
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions services/minio/minio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ spec:
operator: In
values:
- minio
securityContext:
fsGroup: 65534
fsGroupChangePolicy: "OnRootMismatch"
containers:
- name: minio
image: docker.io/minio/minio:RELEASE.2022-10-24T18-35-07Z
Expand Down Expand Up @@ -63,6 +66,17 @@ spec:
effect: "NoExecute"
volumes:
- name: data
hostPath:
path: /mnt/data
type: Directory
persistentVolumeClaim:
claimName: minio-pv-claim
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: minio-pv-claim
spec:
storageClassName: nfs-hdd
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Ti

0 comments on commit 79ade66

Please sign in to comment.