Skip to content

Commit

Permalink
docs: adjust content
Browse files Browse the repository at this point in the history
  • Loading branch information
sy committed Sep 28, 2023
1 parent df3c4ba commit 1ac9a6f
Showing 1 changed file with 1 addition and 46 deletions.
47 changes: 1 addition & 46 deletions docs/user_docs/backup-and-restore/backup/backup-repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,45 +71,12 @@ There are various ways to create a BackupRepo. Make sure you have done all the n

1. Install MinIO.

<Tabs>

<TabItem value="kbcli" label="kbcli" default>

```bash
# Install via add-on
kbcli addon enable minio
# Access MinIO dashboard
kbcli dashboard open minio
```

</TabItem>

<TabItem value="Helm" label="Helm">

```bash
helm install minio oci://registry-1.docker.io/ bitnamicharts/minio
```

</TabItem>

</Tabs>

To get initial username and password, try the following.

<Tabs>

<TabItem value="kbcli" label="kbcli" default>

``` bash
Initial username: kubeblocks
Initial password: kubeblocks
```

</TabItem>

<TabItem value="Helm" label="Helm">

```bash
# Initial username
echo $(kubectl get secret --namespace default minio -o jsonpath="{.data.root-user}" | base64 -d)
Expand All @@ -118,21 +85,9 @@ There are various ways to create a BackupRepo. Make sure you have done all the n
echo $(kubectl get secret --namespace default minio -o jsonpath="{.data.root-password}" | base64 -d)
```

</TabItem>

</Tabs>

:::note

If you encounter connection issues while logging in to MinIO with `kbcli dashboard open minio`, try running the command `kubectl port-forward --namespace kb-system svc/kb-addon-minio 9001:9001` (You may need to retry a few times) and then access the dashboard.

:::

2. Generate credentials.

If you install MinIO via Add-on, you can either use `kbcli dashboard open minio` to open the web page or run `kubectl port-forward --namespace kb-system svc/kb-addon-minio 9001:9001` and then access `127.0.0.1:9001`.

If you install MinIO via Helm, you can access the login page by running `kubectl port-forward --namespace default svc/minio 9001:9001` and then accessing `127.0.0.1:9001`.
Access the login page by running `kubectl port-forward --namespace default svc/minio 9001:9001` and then accessing `127.0.0.1:9001`.

Once you are logged in to the dashboard, you can generate an `access key` and `secret key`.

Expand Down

0 comments on commit 1ac9a6f

Please sign in to comment.