A few things to note:
- I don't have any storage for this one, as I am still trying to figure out how to work with longhorn.
- you will need to configure your cloudflare tunnel to not validate the SSL, as linuxserver image will generate a self signed SSL certificate which will cause the app to stop working.
- you need to create the tunnel to be like the following image
- Feel free to update the replicas to match your needs, I found out that mastodon is a beast and needs a huge memory/processing .. etc, thats why in my own cluster I am running a 3 instances spread equaly, one in each PI.
You need to do the following if you are planning to use longhorn:
- Install
open-iscii
on all nodes - Check the
Setting Up Longhorn
section at K3s.io site