---
# System prepended metadata

title: Install minio use Rancher
tags: [工具]

---

# Install minio use Rancher

* Cluster -> Apps -> Repositories -> Create
> name: minio 
> URL: https://charts.bitnami.com/bitnami 

![](https://hackmd.io/_uploads/r17WqC5yp.png)

```
$ kubectl -n minio get all
NAME                                      READY   STATUS    RESTARTS   AGE
pod/minio-12-1695372927-5ddc4d55c-tffwk   1/1     Running   0          15m

NAME                          TYPE       CLUSTER-IP     EXTERNAL-IP   PORT(S)                         AGE
service/minio-12-1695372927   NodePort   10.43.218.96   <none>        9000:31352/TCP,9001:30199/TCP   15m

NAME                                  READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/minio-12-1695372927   1/1     1            1           15m

NAME                                            DESIRED   CURRENT   READY   AGE
replicaset.apps/minio-12-1695372927-5ddc4d55c   1         1         1       15m
```
* 查看預設帳號與密碼
```
$ kubectl -n minio get secret minio-12-1695372927 -o jsonpath='{.data.root-user}' | base64 --decode
admin

$ kubectl -n minio get secret minio-12-1695372927 -o jsonpath='{.data.root-password}' | base64 --decode
G2wo6XrHRC
```
* 登入畫面
![](https://hackmd.io/_uploads/ByGDcR516.png)

