Skip to content

Commit 76e7324

Browse files
committed
fix: update and fix minio docs
Signed-off-by: Bence Csati <[email protected]> fix: update and fix minio docs Signed-off-by: Bence Csati <[email protected]>
1 parent 9a0ab8b commit 76e7324

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed
409 KB
Loading

content/docs/operation/logging-operator-monitoring.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ For more details on installing the Prometheus operator and configuring and acces
111111
image: minio/minio
112112
args:
113113
- server
114-
- /storage
114+
- /data
115+
- "--console-address=:9001"
115116
readinessProbe:
116117
httpGet:
117118
path: /minio/health/ready
@@ -121,18 +122,21 @@ For more details on installing the Prometheus operator and configuring and acces
121122
env:
122123
- name: MINIO_REGION
123124
value: 'test_region'
124-
- name: MINIO_ACCESS_KEY
125+
- name: MINIO_ROOT_USER
125126
valueFrom:
126127
secretKeyRef:
127128
name: logging-s3
128129
key: accesskey
129-
- name: MINIO_SECRET_KEY
130+
- name: MINIO_ROOT_PASSWORD
130131
valueFrom:
131132
secretKeyRef:
132133
name: logging-s3
133134
key: secretkey
135+
- name: MINIO_BROWSER_LOGIN_ANIMATION
136+
value: "off"
134137
ports:
135138
- containerPort: 9000
139+
- containerPort: 9001
136140
volumes:
137141
- name: logging-s3
138142
secret:
@@ -147,10 +151,14 @@ For more details on installing the Prometheus operator and configuring and acces
147151
selector:
148152
app: minio
149153
ports:
150-
- protocol: TCP
154+
- name: http
155+
protocol: TCP
151156
port: 9000
152157
targetPort: 9000
153-
158+
- name: console
159+
protocol: TCP
160+
port: 9001
161+
targetPort: 9001
154162
EOF
155163
```
156164

@@ -254,10 +262,10 @@ For more details on installing the Prometheus operator and configuring and acces
254262
1. Forward Service
255263

256264
```bash
257-
kubectl -n logging port-forward svc/nginx-demo-minio 9000
265+
kubectl -n logging port-forward svc/nginx-demo-minio 9001:9001
258266
```
259267

260-
1. Open the [Minio Dashboard: http://localhost:9000](http://localhost:9000)
268+
1. Open the [Minio Dashboard: http://localhost:9001](http://localhost:9001)
261269

262270
<p align="center"><img src="../../img/servicemonitor_minio.png" alt="Minio dashboard"></p>
263271

0 commit comments

Comments
 (0)