-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
There are a few issues at play here:
- The
certconverterroutine requiresopensslwhich isn't installed in upstream images certconverteralso expects to write to/pulsarwhich is not writable by thepulsar(uid10000) user on the upstream images- The TLS configuration for Zookeeper disables support for
TLSv1.3which is the default client cipher suite on the upstream images. This causes thepulsar-zookeeper-metadatajob to fail to bootstrap the cluster.
These can be worked around by crafting a custom image with a Dockerfile like so:
FROM apachepulsar/pulsar:3.3.1
USER 0
RUN apk add --no-cache openssl
RUN chown pulsar:root -R /pulsar
USER 10000
And then setting these keys on the Zookeeper config:
zookeeper:
config:
ssl.protocol: TLSv1.3
ssl.quorum.protocol: TLSv1.3
ssl.enabledProtocols: TLSv1.3,TLSv1.2
To fix these issues I propose doing the cert conversion in an initContainer using a minimal Java + OpenSSL image that will decouple the TLS support from the choice of Pulsar image. I don't know what the best course of action is for the Zookeeper TLS settings is.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels