44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
---
|
|
kind: Deployment
|
|
apiVersion: apps/v1
|
|
metadata:
|
|
name: minio
|
|
labels:
|
|
io.kompose.service: minio
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: minio
|
|
template:
|
|
metadata:
|
|
labels:
|
|
io.kompose.service: minio
|
|
spec:
|
|
containers:
|
|
- name: minio
|
|
image: reg.cadoles.com/proxy_cache/minio/minio
|
|
command: ["minio"]
|
|
args: ["server", "/data"]
|
|
ports:
|
|
- name: web-ui
|
|
containerPort: 9000
|
|
volumeMounts:
|
|
- name: minio-data
|
|
mountPath: /data
|
|
resources: {}
|
|
env:
|
|
- name: MINIO_ROOT_USER
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: minio-secret
|
|
key: minio-root-user
|
|
- name: MINIO_ROOT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: minio-secret
|
|
key: minio-root-password
|
|
volumes:
|
|
- name: minio-data
|
|
persistentVolumeClaim:
|
|
claimName: minio-data |