jbkc85/moodle-kubernetes-tutorial

Multi node kubernetes deployment

cdelacruzpinto opened this issue · 1 comments

I've got another question :-)

Would this set-up work in a multi-node Kubernetes cluster without any modification?
Can I edit my local hosts file to point moodle.local to the apropiate cluster node ip and will it work?

it all depends. If you want to utilize the cluster for the load balancer (Traefik), you will need to set it up as a DaemonSet or use the kubectl scale to ensure Traefik is in fact loaded across all the machines in the cluster. Outside of the Load Balancer, everything should work as intended.

Just a note though, I don't believe this tutorial is quite ready for production style setups. First of all, running Postgres in a single pod is sorta scary - especially for sensitive data such as Moodle generally has. On top of that, this tutorial doesnt have HTTPS and anything with CNI security (container network interface), meaning any pods on the cluster can access this one as you deploy it.

Does that answer you question? Hopefully it makes sense :-).