You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user_docs/cli/kbcli_playground_init.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,8 @@ kbcli playground init [flags]
31
31
kbcli cluster describe mycluster
32
32
33
33
# connect to database
34
-
kbcli cluster connect mycluster
34
+
kbcli exec -it mycluster-mysql-0 bash
35
+
mysql -h 127.1 -u root -p$MYSQL_ROOT_PASSWORD
35
36
36
37
# view the Grafana
37
38
kbcli dashboard open kubeblocks-grafana
@@ -45,7 +46,7 @@ kbcli playground init [flags]
45
46
```
46
47
--auto-approve Skip interactive approval during the initialization of playground
47
48
--cloud-provider string Cloud provider type, one of [local aws] (default "local")
48
-
--cluster-type string Specify the cluster type to create, use 'kbcli cluster create --help' to get the available cluster type. (default "apecloud-mysql")
49
+
--cluster-type string Specify the cluster type to create, use 'kbcli cluster create --help' to get the available cluster type. (default "mysql")
49
50
-h, --help help for init
50
51
--k3d-proxy-image string Specify k3d proxy image if you want to init playground locally (default "docker.io/apecloud/k3d-proxy:5.4.4")
51
52
--k3s-image string Specify k3s image that you want to use for the nodes if you want to init playground locally (default "rancher/k3s:v1.23.8-k3s1")
0 commit comments