Quantcast
Channel: WordPress.org Forums » [Redis Object Cache] Support
Viewing all articles
Browse latest Browse all 110

redis not being enabled on all instances when run in replica mode in kubernetes

$
0
0

Replies: 0

Hi Team,

I run 2x nginx container and 2x php container

nginx -> proxy to -> php container

If the redis cache is enabled using the gui it creates a file only in one php container the files is called

object-cache.php and it’s localed in the public/wp-content/object-cache.php

The problem is that wp-content can’t be a global storage as the specific version of plugins are baked in into the container image and they can’t change until the image is rebuild. This is to make sure that release is version controller/tested and can’t change.

Can this file be configurable so it can be created in the different location?

What I end up is to have 2 instances or more when the redis can only be enabled in one container.

  • This topic was modified 7 hours, 15 minutes ago by ber5ien.

Viewing all articles
Browse latest Browse all 110

Trending Articles