-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathminio-rs-svc.yml
48 lines (48 loc) · 900 Bytes
/
minio-rs-svc.yml
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
apiVersion: extensions/v1beta1
kind: ReplicaSet
metadata:
labels:
app: minio
name: minio
spec:
replicas: 1
selector:
matchLabels:
app: minio
template:
metadata:
labels:
app: minio
spec:
containers:
- args:
- server
- /storage
env:
- name: MINIO_ACCESS_KEY
value: testingtest
- name: MINIO_SECRET_KEY
value: testingtest
image: minio/minio
name: minio
ports:
- containerPort: 9000
volumeMounts:
- mountPath: /storage
name: storage
volumes:
- emptyDir: {}
name: storage
---
apiVersion: v1
kind: Service
metadata:
name: minio-service
spec:
ports:
- port: 9000
protocol: TCP
targetPort: 9000
selector:
app: minio
type: ClusterIP