change some
This commit is contained in:
1 parent
18012fcec0
commit
51283ffa14
14 files changed
+753
-1
No files matched your search
@@ -0,0 +1,37 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: main-minio
|
||||
namespace: online-back
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
type: Recreate
|
||||
selector:
|
||||
matchLabels:
|
||||
app: main-minio
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: main-minio
|
||||
spec:
|
||||
containers:
|
||||
- name: main-minio
|
||||
image: quay.io/minio/minio
|
||||
args: ["server", "/storage", "--console-address", ":9093"]
|
||||
ports:
|
||||
- containerPort: 9000
|
||||
- containerPort: 9093
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: main-minio-secret
|
||||
env:
|
||||
- name: MINIO_VOLUMES
|
||||
value: "/storage"
|
||||
volumeMounts:
|
||||
- name: minio-storage
|
||||
mountPath: /storage
|
||||
volumes:
|
||||
- name: minio-storage
|
||||
persistentVolumeClaim:
|
||||
claimName: main-minio-pvc
|
||||
Reference in new issue
Block a user