Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warmup related configuration incase we are running mcrouter and memcache on kubernetes #400

Open
netgurru opened this issue Nov 29, 2022 · 0 comments

Comments

@netgurru
Copy link

netgurru commented Nov 29, 2022

hi,

Currently we are using memcached 3 pods with mcrouter 3 pods in kubernetes. I am currently using this config

{ "pools": { "cold": { "servers": [ "memcached-0.memcached.dev.svc.cluster.local:11211", "memcached-1.memcached.dev.svc.cluster.local:11211", "memcached-2.memcached.dev.svc.cluster.local:11211", ] }, "warm": { "servers": [ "memcached-0.memcached.dev.svc.cluster.local:11211", "memcached-1.memcached.dev.svc.cluster.local:11211", "memcached-2.memcached.dev.svc.cluster.local:11211", ] } }, "route": { "type": "OperationSelectorRoute", "operation_policies": { "get": { "type": "WarmUpRoute", "cold": "AllSyncRoute|Pool|cold", "warm": "AllSyncRoute|Pool|warm", }, "add": { "type": "WarmUpRoute", "cold": "AllSyncRoute|Pool|cold", "warm": "AllSyncRoute|Pool|warm", }, "set": { "type": "WarmUpRoute", "cold": "AllSyncRoute|Pool|cold", "warm": "AllSyncRoute|Pool|warm", }, "delete": { "type": "WarmUpRoute", "cold": "AllSyncRoute|Pool|cold", "warm": "AllSyncRoute|Pool|warm", }, "gets": { "type": "WarmUpRoute", "cold": "AllSyncRoute|Pool|cold", "warm": "AllSyncRoute|Pool|warm", }, }, "default_policy": { "type": "AllSyncRoute", "children": [ "FailoverRoute|Pool|cold", "FailoverRoute|Pool|warm", ] } } }

Now on kubernetes we are not sure when which memcache pod will get recreated? So how this configuration can be handled in that case? Does it seems to be good or?

Thank you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant