Closed Awsmsniper closed 9 months ago
have you tested with the default image which is 3.0.2
? (remove defaultPulsarImageTag
)
have you tested with the default image which is
3.0.2
? (removedefaultPulsarImageTag
)
No, I am using version 3.1.1, which defaults to version 3.1.1
have you tested with the default image which is
3.0.2
? (removedefaultPulsarImageTag
)No, I am using version 3.1.1, which defaults to version 3.1.1
There's a bug in 3.1.1 version of Pulsar. It is fixed in 3.0.2 and 3.1.2 versions of Pulsar. It's this fix: https://github.com/apache/pulsar/pull/21428 . Commit in branch-3.0: https://github.com/apache/pulsar/commit/df4b0d8f (included in 3.0.2) and branch-3.1: https://github.com/apache/pulsar/commit/1496925f (included in 3.1.2).
The CI tests run with Pulsar 3.0.2 images. I have also ran the tests with defaultPulsarImageTag: 3.1.2
and the problem doesn't occur. https://github.com/lhotari/pulsar-helm-chart/actions/runs/7670897358?pr=7
Please use Pulsar 3.0.2 or 3.1.2 to get the fix.
Duplicates #403
have you tested with the default image which is
3.0.2
? (removedefaultPulsarImageTag
)No, I am using version 3.1.1, which defaults to version 3.1.1
Pulsar 3.1.1 版本中存在一个错误。它在 Pulsar 的 3.0.2 和 3.1.2 版本中已修复。这是这个修复程序: apache/pulsar#21428 。在 branch-3.0 中提交:apache/pulsar@df4b0d8f(包含在 3.0.2 中)和 branch-3.1:apache/pulsar@1496925f(包含在 3.1.2 中)。
CI 测试使用 Pulsar 3.0.2 镜像运行。我也运行了测试,没有出现问题。https://github.com/lhotari/pulsar-helm-chart/actions/runs/7670897358?pr=7`defaultPulsarImageTag: 3.1.2`
请使用 Pulsar 3.0.2 或 3.1.2 来获取修复程序。
Thank you for your reply. Could you please take a look at the configuration of jwt in your values. yaml? Here is my configuration, is there any error?
# uses chart's appVersion when unspecified
defaultPulsarImageTag: 3.1.2
auth:
authentication:
enabled: true
provider: "jwt"
jwt:
# Enable JWT authentication
# If the token is generated by a secret key, set the usingSecretKey as true.
# If the token is generated by a private key, set the usingSecretKey as false.
usingSecretKey: false
authorization:
enabled: true
superUsers:
# broker to broker communication
broker: "broker-admin"
# proxy to broker communication
proxy: "proxy-admin"
# pulsar-admin client to broker/proxy communication
client: "admin"
# omits the above proxy role from superusers on the proxy
# and configures it as a proxy role on the broker in addition to the superusers
useProxyRoles: true
Thank you for your reply. Could you please take a look at the configuration of jwt in your values. yaml? Here is my configuration, is there any error?
Have you run the prepare step? https://pulsar.apache.org/docs/3.1.x/helm-deploy/#prepare-helm-release It's this script https://github.com/apache/pulsar-helm-chart/blob/master/scripts/pulsar/prepare_helm_release.sh . It creates the required JWT key and tokens as secrets.
Thank you for your reply. Could you please take a look at the configuration of jwt in your values. yaml? Here is my configuration, is there any error?
Have you run the prepare step? https://pulsar.apache.org/docs/3.1.x/helm-deploy/#prepare-helm-release It's this script https://github.com/apache/pulsar-helm-chart/blob/master/scripts/pulsar/prepare_helm_release.sh . It creates the required JWT key and tokens as secrets.
I installed the pulsar cluster in an offline environment, so I manually installed the secret.
kubectl apply -f pulsar-token-admin.yaml -f pulsar-token-asymmetric-key.yaml -f pulsar-token-broker-admin.yaml -f pulsar-token-proxy-admin.yaml
pulsar-token-admin Opaque 2 14s
pulsar-token-asymmetric-key Opaque 2 14s
pulsar-token-broker-admin Opaque 2 14s
pulsar-token-proxy-admin Opaque 2 14s
Please use Pulsar 3.0.2 or 3.1.2 to get the fix. Did you do that? If you did, please share the logs of the failing pods. Please also share kubectl describe
for one of the pods.
Please use Pulsar 3.0.2 or 3.1.2 to get the fix. Did you do that? If you did, please share the logs of the failing pods. Please also share
kubectl describe
for one of the pods.
Thank you very much! This problem has been bothering me for a while! When I switch to 3.1.2, it can run normally! Also, I would like to enable TLS. Where can I find detailed reference documents?
Describe the bug When I deploy the Pulsar cluster on the Kubernet cluster using Apache/pulsar-helm-chart: 3.2.0 (with JWT authentication enabled), the pulsar proxy service still cannot run properly. The error message is as follows: Liveness probe failed: HTTP probe failed with statuscode: 401 Readiness probe failed: HTTP probe failed with statuscode: 401
To Reproduce Steps to reproduce the behavior:
helm install pulsar --values charts/pulsar/values.yaml --set initialize=true --namespace pulsar pulsar-3.2.0.tgz
Screenshots
kubectl get pod -n pulsar
outputkubectl describe
outpu:Desktop (please complete the following information):
Modified on default basis values.yaml