Skip to content

Commit 2f3a2d6

Browse files
authored
Merge pull request kubernetes-retired#42 from wlan0/temp
add minio.yaml for deploying sample driver
2 parents b714cd3 + c602192 commit 2f3a2d6

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

minio.yaml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
apiVersion: v1
2+
kind: Service
3+
metadata:
4+
name: minio
5+
spec:
6+
type: ClusterIP
7+
ports:
8+
- port: 9000
9+
targetPort: 9000
10+
protocol: TCP
11+
selector:
12+
app: minio
13+
14+
---
15+
16+
apiVersion: apps/v1
17+
kind: Deployment
18+
metadata:
19+
name: minio
20+
labels:
21+
app: minio
22+
spec:
23+
selector:
24+
matchLabels:
25+
app: minio
26+
template:
27+
metadata:
28+
labels:
29+
app: minio
30+
spec:
31+
containers:
32+
- image: minio/minio:latest
33+
name: image
34+
args:
35+
- server
36+
- /data
37+
env:
38+
- name: MINIO_ACCESS_KEY
39+
value: minio
40+
- name: MINIO_SECRET_KEY
41+
value: minio123

0 commit comments

Comments
 (0)