jameshnsears / xqa-documentation

XQA is a suite of Docker based microservices that improves the scalability of BaseX.
Apache License 2.0
7 stars 0 forks source link

Document and run everything in k8s. #72

Open jameshnsears opened 5 years ago

jameshnsears commented 5 years ago

https://github.com/DevOps-with-Kubernetes/examples/tree/master/chapter3/3-3_kiosk

jameshnsears commented 5 years ago

how to scale if CPU / RAM exceeded?

Check persistantvolume been created, kill something and check it comes back up

is pv bit enough for all pods?

create a pv for messagebroker.

create a pv for xqa-shard = ensure that the pv isn't shared! = that when a xqa-shard goes down it comes back with it's own data = how to autoscale xqa-shard? = size

change xqa-shard so that uses a pv, and code picks up uuid (from pv) = so that comes back from the dead with same uuid

https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/