hey community. I look for a learning material, but...
# general
c
hey community. I look for a learning material, but struggle to understand how to google it. I want to learn how to configure DNS and host names for apps inside my cluster so as to give like 3d level domain names and also a regular DNS names that app users own. I want a solution to work inside local k3s instance and also a cloud solution. what topic should I google? I checked coredns, but doesn't what I look for. I saw people just add a host rule to ingress and then update
/etc/hosts
, is it a prod ready solution to manupulate /etc/hosts directly?
a
Hey @Candyboober Just an suggestion : By any chance did you came across pihole? I've used pihole in past for my home lab and infrastructure. So basically pihole also acts as a DNS resolution. You can deploy pihole on kubernetes using YAML files. We'll just see if it fits for your usecase, if yes I'll provide the YAML manifests for deploying pihole on EKS cluster!!!
c
Im not sure it helps me, I even don't need a public LB at the moment, I even can't reach my cluster through ingress, only a service, and that's a problem Im trying to solve
h
Sounds like you need Metallb, then you can tie it to your ingress, each cloud has its own solution but when your done practicing with Metallb the same concepts apply to the cloud lbs
c
I see. so I can use metallb for a local setup and then transit this practice to cloud lb for a prod setup, right? currently I even have an issue with accessing my service through ingress, port-forward to service works fine, but ingress doesn't
h
You got it
Ya for a local setup you need a load balancer for that which Metallb enables that