deploy on kubernetes with TLS enabled? #31
-
Hi , I am trying to find documentation for deploying FlashMQ broker on kubenetes as a Pod with tls enabled. Could you please share some notes if you have any? |
Beta Was this translation helpful? Give feedback.
Answered by
halfgaar
Feb 1, 2023
Replies: 1 comment 3 replies
-
I have never used Kubernetes, actually. But, I imagine there are no special steps required. With Kubernetes, does a load-balancer take care of TLS? In that case, remember the 30000-60000 client limit between two IP addresses. If possible, I'd let FlashMQ do the TLS. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The readme contains an example docker run command:
This example makes the internal
/etc/flashmq
available through the local path/srv/flashmq/etc
. You can put the config in there, as well as SSL certificates.I think that's what you mean, once translated to Kubernetes terminology? So you don't put it in the image itself, but in the volume.
On a side note, there is no volume for the db files in this example. If you want restart-persistence, you'll have to make a volume for that too. See https://www.flashmq.org/man/flashmq.conf.5#storage_dir
Same goes for logs.