tisonkun commented on code in PR #679:
URL: https://github.com/apache/pulsar-site/pull/679#discussion_r1306644397


##########
docs/getting-started-helm.md:
##########
@@ -340,22 +354,36 @@ Then you can proceed with the following steps:
 
 [Pulsar Manager](administration-pulsar-manager.md) is a web-based GUI 
management tool for managing and monitoring Pulsar.
 
-1. By default, the `Pulsar Manager` is exposed as a separate `LoadBalancer`. 
You can open the Pulsar Manager UI using the following command:
+1. To create a superuser account, connect to the pulsar-manager pod and create 
the account:
+
+```bash
+kubectl exec -it YOUR_PULSAR_MANAGER_POD_NAME -n pulsar -- /bin/bash
+CSRF_TOKEN=$(curl http://localhost:7750/pulsar-manager/csrf-token)
+curl \
+    -H "X-XSRF-TOKEN: $CSRF_TOKEN" \
+    -H "Cookie: XSRF-TOKEN=$CSRF_TOKEN;" \
+    -H 'Content-Type: application/json' \
+    -X PUT http://localhost:7750/pulsar-manager/users/superuser \
+    -d '{"name": "pulsar", "password": "pulsar", "description": "test", 
"email": "[email protected]"}'
+```
+
+2. By default, the `Pulsar Manager` is exposed as a separate `LoadBalancer`. 
You can open the Pulsar Manager UI using the following command:
 
    ```bash
    minikube service -n pulsar pulsar-mini-pulsar-manager
    ```
 
-2. The Pulsar Manager UI will be open in your browser. You can use the 
username `pulsar` and password `pulsar` to log into Pulsar Manager.
+3. The Pulsar Manager UI will be open in your browser. You can use the 
username `pulsar` and password `pulsar` to log into Pulsar Manager.
 
-3. In Pulsar Manager UI, you can create an environment.
+4. In Pulsar Manager UI, you can create an environment.
 
    - Click **New Environment** in the upper-left corner.
    - Type `pulsar-mini` for the field `Environment Name` in the pop-up window.
    - Type `http://pulsar-mini-broker:8080` for the field `Service URL` in the 
pop-up window.
-   - Click **Confirm** in the pop-up window.
+   - Type `http://pulsar-mini-bookie:8080` for the field `Bookie URL` in the 
pop-up window.
+  - Click **Confirm** in the pop-up window.

Review Comment:
   ```suggestion
      - Type `http://pulsar-mini-bookie:8080` for the field `Bookie URL` in the 
pop-up window.
      - Click **Confirm** in the pop-up window.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to