Skip to content

deploy on kubernetes with TLS enabled? #31

Closed Answered by halfgaar
sivaNbalusu5 asked this question in Q&A
Discussion options

You must be logged in to vote

The readme contains an example docker run command:

docker run -p 8883:8883 -v /srv/flashmq/etc/:/etc/flashmq halfgaar/flashmq

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.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sivaNbalusu5
Comment options

@halfgaar
Comment options

Answer selected by sivaNbalusu5
@sivaNbalusu5
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants