You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it safe to increase the number of replicas for the web pod in k8s?
I've customized the number of replicas on the chrome pod and that seems fine, but of course that has no local data.
It looks to be unsafe to increase replicas on the meilisearch pod based on the reading I've done about that, since it uses LMDB.
But I don't know enough about the stuff running in the web pod to know if it's safe to increase the replicas. (This would of course mean using a storage class for the PVC which supports ReadWriteMany access.)
The text was updated successfully, but these errors were encountered:
Honestly, I've not given it a try before but theoretically speaking I see nothing that would prevent it from working.
The only caveat that I can think of is that you'll be forced to have double the number of background job workers (because they are baked into the web pod). For example, if you have CRAWLER_NUM_WORKERS=1, each replica will have 1 worker (so you end up with X workers instead of 1). The work should get correctly distributed across them though, so it shouldn't be that big of a deal.
I'd recommend taking backups before going with that route. Let me know how it goes, I'm curious :)
Got it, thanks! I'll definitely back up (and restore), as I have to do that any way in order to migrate from the rbd block (RWO) to NFS (RWM) storage. I'll let you know how it goes.
Is it safe to increase the number of replicas for the web pod in k8s?
I've customized the number of replicas on the chrome pod and that seems fine, but of course that has no local data.
It looks to be unsafe to increase replicas on the meilisearch pod based on the reading I've done about that, since it uses LMDB.
But I don't know enough about the stuff running in the web pod to know if it's safe to increase the replicas. (This would of course mean using a storage class for the PVC which supports ReadWriteMany access.)
The text was updated successfully, but these errors were encountered: