Using Kubernetes to Power Asia’s Largest MOOC
blog.hasura.io
blog.hasura.io
Curious about something - when a new user joins in, and you create a new kubernetes service, how does nginx know about it?
I'm also curious about why you moved from Azure to GCE? :)
Every k8s service has a DNS label. We ensure that the DNS label can be derived from the username. The subdomain for the app (also the username) is then used by nginx to proxy it to the right upstream k8s service.
Initially was on Azure. NPTEL (the platform, like coursera, where this MOOC was distributed) then got GCP credits so we migrated it.