File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,8 @@ For more details on installing the Prometheus operator and configuring and acces
111
111
image: minio/minio
112
112
args:
113
113
- server
114
- - /storage
114
+ - /data
115
+ - "--console-address=:9001"
115
116
readinessProbe:
116
117
httpGet:
117
118
path: /minio/health/ready
@@ -121,18 +122,21 @@ For more details on installing the Prometheus operator and configuring and acces
121
122
env:
122
123
- name: MINIO_REGION
123
124
value: 'test_region'
124
- - name: MINIO_ACCESS_KEY
125
+ - name: MINIO_ROOT_USER
125
126
valueFrom:
126
127
secretKeyRef:
127
128
name: logging-s3
128
129
key: accesskey
129
- - name: MINIO_SECRET_KEY
130
+ - name: MINIO_ROOT_PASSWORD
130
131
valueFrom:
131
132
secretKeyRef:
132
133
name: logging-s3
133
134
key: secretkey
135
+ - name: MINIO_BROWSER_LOGIN_ANIMATION
136
+ value: "off"
134
137
ports:
135
138
- containerPort: 9000
139
+ - containerPort: 9001
136
140
volumes:
137
141
- name: logging-s3
138
142
secret:
@@ -147,10 +151,14 @@ For more details on installing the Prometheus operator and configuring and acces
147
151
selector:
148
152
app: minio
149
153
ports:
150
- - protocol: TCP
154
+ - name: http
155
+ protocol: TCP
151
156
port: 9000
152
157
targetPort: 9000
153
-
158
+ - name: console
159
+ protocol: TCP
160
+ port: 9001
161
+ targetPort: 9001
154
162
EOF
155
163
` ` `
156
164
@@ -254,10 +262,10 @@ For more details on installing the Prometheus operator and configuring and acces
254
262
1. Forward Service
255
263
256
264
` ` ` bash
257
- kubectl -n logging port-forward svc/nginx-demo-minio 9000
265
+ kubectl -n logging port-forward svc/nginx-demo-minio 9001:9001
258
266
` ` `
259
267
260
- 1. Open the [Minio Dashboard : http://localhost:9000 ](http://localhost:9000 )
268
+ 1. Open the [Minio Dashboard : http://localhost:9001 ](http://localhost:9001 )
261
269
262
270
<p align="center"><img src="../../img/servicemonitor_minio.png" alt="Minio dashboard"></p>
263
271
You can’t perform that action at this time.
0 commit comments