Skip to content

Commit

Permalink
fix: update and fix minio docs
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Csati <[email protected]>

fix: update and fix minio docs

Signed-off-by: Bence Csati <[email protected]>
  • Loading branch information
csatib02 committed Oct 14, 2024
1 parent 9a0ab8b commit 76e7324
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
Binary file modified content/docs/img/servicemonitor_minio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 15 additions & 7 deletions content/docs/operation/logging-operator-monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ For more details on installing the Prometheus operator and configuring and acces
image: minio/minio
args:
- server
- /storage
- /data
- "--console-address=:9001"
readinessProbe:
httpGet:
path: /minio/health/ready
Expand All @@ -121,18 +122,21 @@ For more details on installing the Prometheus operator and configuring and acces
env:
- name: MINIO_REGION
value: 'test_region'
- name: MINIO_ACCESS_KEY
- name: MINIO_ROOT_USER
valueFrom:
secretKeyRef:
name: logging-s3
key: accesskey
- name: MINIO_SECRET_KEY
- name: MINIO_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: logging-s3
key: secretkey
- name: MINIO_BROWSER_LOGIN_ANIMATION
value: "off"
ports:
- containerPort: 9000
- containerPort: 9001
volumes:
- name: logging-s3
secret:
Expand All @@ -147,10 +151,14 @@ For more details on installing the Prometheus operator and configuring and acces
selector:
app: minio
ports:
- protocol: TCP
- name: http
protocol: TCP
port: 9000
targetPort: 9000
- name: console
protocol: TCP
port: 9001
targetPort: 9001
EOF
```

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

```bash
kubectl -n logging port-forward svc/nginx-demo-minio 9000
kubectl -n logging port-forward svc/nginx-demo-minio 9001:9001
```

1. Open the [Minio Dashboard: http://localhost:9000](http://localhost:9000)
1. Open the [Minio Dashboard: http://localhost:9001](http://localhost:9001)

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

Expand Down

0 comments on commit 76e7324

Please sign in to comment.