Add Memcached settings dynamically per tenant

Hello,
I am using Django to build a multi-tenant service. I use Memcached as the cache server and I’d like to separate Memcached server per tenant.

The question is if there is a way to load cache settings dynamically? The scenarios looks like that when a new tenant coming in and register, the back-end service will create a new Memcached service pod. Which means it not has chance to edit Settings.py and add the new Memcached server into.

So if there is a way could load the new cache servers settings from the runtime ?