stateless wordpress instance
-
Hi, I may misunderstand how this plugin works and am hoping that someone can help me understand what I can expect and what not or help me fix my problems.
I’m trying to build a truly stateless WordPress instance using docker containers and kubernetes. in order to do that I need to either load all medial library content into the container image, which makes it impossible to dynamically load new content into a running instance and persist it beyond the containers lifespan or use an external cloud storage as Google cloud storage with a plugin that redirects all urls pointing to the media library content to the storage bucket.
Using this plugin I was hoping to have found a solution but it doesn’t really seem to work. I have restored a few hundred files into a running container, then synchronised them using WP-Stateless into my Google cloud storage bucket successfully and finally enabled the plugin in stateless mode. We are using a custom frontend plugin which uses the WordPress rest api to consume content. Loading any of these images or pdf files seems to continue to load them directly from the media library. When I restart the container or scale the number of replicas (instances), it naturally boots without any of the content files and even though the plugin is still enabled and set to stateless mode, i don’t see any of the images or pdf files any longer. They do exist in the Google storage bucket though.Am I missing something?
Thanks,
olaf
- The topic ‘stateless wordpress instance’ is closed to new replies.