multi-domain setup with Kubernetes nginx ingress

10/23/2021

I am able to setup the ingress controller for single domain; however my plan is to use microk8's or K3s (not sure); to host multiple domains on one single virtual machine. Basically I was hoping to setup one kubernetes-cluster for one domain with its own services -- and certificates with letsenrypt; and a different kubernetes-cluster setup for the second domain.

My reason for using Kubernetes was to be able to reuse some of my api logic with microservices using environment variables -- (with an optional benefit of horizontal scaling; not a need right now). hopefully I have not chosen an over complicated solution for my need. (its a basic angular + .Net Core + Redis + Postgres + Mongo with signalr) Please advise

-- Dhiru
kubernetes
kubernetes-ingress
nginx
signalr

0 Answers