Slackbot
08/22/2023, 2:23 PMAlexander Preuß
08/22/2023, 3:36 PMJulien Jakubowski
08/23/2023, 7:27 PMvalues-minikube.yaml file contains the following lines before installing the helm chart:
pulsar_manager:
configData:
ENV_SPRING_CONFIGURATION_FILE: "/pulsar-manager/pulsar-manager/application.properties"
SPRING_CONFIGURATION_FILE: "/pulsar-manager/pulsar-manager/application.properties"
PULSAR_MANAGER_OPTS: " -Dlog4j2.formatMsgNoLookups=true"
2. create the `pulsar`user account:
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": "<mailto:username@test.org|username@test.org>"}'
Hope this helps. Please let me know if it worked for youTimo
08/24/2023, 2:21 PM/examples/values-minikube.yaml file with the values you provided.
• Continue with the guide until step four. Ran the code to create the pulsar user account you provided.
• Run minikube service -n pulsar pulsar-mini-pulsar-manager to open pulsar manager UI in the brower.
On the log in screen, I still can not log in. The browser console showes the following error: POST <http://127.0.0.1:64477/pulsar-manager/login> 404 (Not Found)
Any idea why it's not working for me?Timo
08/24/2023, 2:22 PM## deployed withh emptyDir
volumes:
persistence: false
# disabled AntiAffinity
affinity:
anti_affinity: false
# disable auto recovery
components:
autorecovery: false
pulsar_manager:
configData:
ENV_SPRING_CONFIGURATION_FILE: "/pulsar-manager/pulsar-manager/application.properties"
SPRING_CONFIGURATION_FILE: "/pulsar-manager/pulsar-manager/application.properties"
PULSAR_MANAGER_OPTS: " -Dlog4j2.formatMsgNoLookups=true"
zookeeper:
replicaCount: 1
bookkeeper:
replicaCount: 1
broker:
replicaCount: 1
configData:
## Enable `autoSkipNonRecoverableData` since bookkeeper is running
## without persistence
autoSkipNonRecoverableData: "true"
# storage settings
managedLedgerDefaultEnsembleSize: "1"
managedLedgerDefaultWriteQuorum: "1"
managedLedgerDefaultAckQuorum: "1"
proxy:
replicaCount: 1Julien Jakubowski
08/24/2023, 4:15 PMpulsar_manager line
3. Exactly 2 spaces at the beginning of the configData line
4. Exactly 4 spaces at the beginning of the 3 other linesJulien Jakubowski
09/04/2023, 8:36 AMTimo
09/07/2023, 4:03 PMJulien Jakubowski
09/08/2023, 1:26 PMJulien Jakubowski
09/08/2023, 1:37 PM