update dev env

This commit is contained in:
Arnaud Delcasse
2025-09-09 05:51:30 +02:00
parent d58c978056
commit d0cd79e4ff
15 changed files with 246 additions and 56 deletions

View File

@@ -16,24 +16,29 @@ spec:
app: minio
spec:
volumes:
- name: storage
persistentVolumeClaim:
claimName: minio
- name: storage
persistentVolumeClaim:
claimName: minio
containers:
- name: minio
image: minio/minio:latest
command: ["sh"]
args:
- "-c"
- "mkdir -p /storage/parcoursmob && minio server /storage"
env:
- name: MINIO_ACCESS_KEY
value: "minio"
- name: MINIO_SECRET_KEY
value: "minio123"
ports:
- containerPort: 9000
hostPort: 9000
volumeMounts:
- name: storage
mountPath: "/storage"
- name: minio
image: minio/minio:latest
command: ["sh"]
args:
- "-c"
- "mkdir -p /storage/parcoursmob && minio server /storage --console-address=:9001"
env:
- name: MINIO_ACCESS_KEY
value: "minio"
- name: MINIO_SECRET_KEY
value: "minio123"
ports:
- name: api
containerPort: 9000
hostPort: 9000
- name: webui
containerPort: 9001
hostPort: 9001
volumeMounts:
- name: storage
mountPath: "/storage"

View File

@@ -4,8 +4,14 @@ metadata:
name: minio
spec:
ports:
- port: 9000
- name: api
port: 9000
targetPort: 9000
protocol: TCP
- name: webui
port: 9001
targetPort: 9001
protocol: TCP
selector:
app: minio
app: minio