+ 1
Kubernetes scaling
If I have a database and a web app that I want to make scalable with kubernetes. Would it cause that the replicas that the kubernetes does when scaling share a different data in the database? For example some data exists in one pod and some data in a different pod? If I have kubernetes scalable web app. How do I make all the scaled web app pods to share the same database? And is it possible to also scale the database while syncing the data between the database pods?
1 Respuesta
0
You have to follow statefulsets
https://www.magalix.com/blog/kubernetes-and-database