update dev env
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user