-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminio-deployment.yaml
50 lines (50 loc) · 1.25 KB
/
minio-deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: minio
name: minio
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: minio
strategy:
type: Recreate
template:
metadata:
annotations:
kompose.cmd: kompose convert -f docker-compose.yml
kompose.version: 1.34.0 (cbf2835db)
labels:
io.kompose.service: minio
spec:
containers:
- args:
- server
- --console-address
- :9001
- /data
env:
- name: MINIO_ACCESS_KEY
value: blQ3xwyhmgVSil41otTG
- name: MINIO_SECRET_KEY
value: bnlnY6BYVls7BVOIAhj7LUKF5htiTRkJG4RhdMQJ
image: minio/minio
name: aat-minio
ports:
- containerPort: 9000
protocol: TCP
- containerPort: 9001
protocol: TCP
volumeMounts:
- mountPath: /data
name: minio-storage
restartPolicy: Always
volumes:
- name: minio-storage
persistentVolumeClaim:
claimName: minio-storage