Renaud Chaput (@renchap@oisaur.com)
Föderation EN Fr 23.08.2024 22:48:07
@b2c Do you have a specific issue with the current chart? This is the one we use for mastodon.social, and it support having a separate image for streaming.
There are plans (and work) to create a new (simpler) chart, but the current one can be used (and is used).
Föderation EN So 25.08.2024 18:50:39
@renchap@oisaur.com @renchap@mastodon.social : Took another look at the chart, and I have a quick question. With the hook "assetsPrecompile" I can disable the JS asset precompilation job I'd recon?
This would help us, since we run with self-built images that deliver all JS already compiled, since we apply some code customizations ourselves and ship our own images.
However, in e.g. https://github.com/mastodon/chart/blob/main/templates/deployment-sidekiq.yaml#L196 the assets get mounted, and there is no check for "assetsPrecompile". (Why do the sidekiqs even have the assets mounted btw?).
This would leave us with an empty assets folder, since we have the assets already compiled in our pod, and the mountpoint would be empty.
We also can't compile the assets at runtime since we run rootless with random UIDs on Openshift, so we would need a way for the chart to just ignore the whole asset part of the chart completely.
Can I configure the chart somehow to do that, or is this not possible?
CC: @vmstan
Michael Stanclift (@vmstan@vmst.io)
Föderation EN So 25.08.2024 18:56:30
@b2c @renchap@oisaur.com @renchap@mastodon.social the 4.3 Docker images don’t have the ability to do an asset recompile because Node has been removed. If you have something that requires it you’ll need to roll your own image ahead of time.
Föderation EN Mo 26.08.2024 13:47:20
Ok, thanks again for your insights.
My exact problem however is:
- I have no S3, but network storage (NFS)
- therefore I need the "system" volume
- however, I don't want the "assets" volume
I can't see how I can achieve that with the current chart. It's either "assets"+"system", or no storage at all.
Renaud Chaput (@renchap@oisaur.com)
Föderation EN Mo 26.08.2024 13:49:59
@b2c Yes, the current chart does not support it :(
I dont like that both of those volumes are tied to S3. If you want to improve this and open a PR, we will definitely consider it!
Pinging @timetinytim as he is maintaining the chart now.