I have questions about my basic understanding about the setup of my k8s cluster.
I have a K8s running on Hetzner-cloud and allocated a "physical" Loadbalancer (which can be controlled via annotations on a Service.)
I use a nginx (or traefik) as my ingress-controller.
Please correct me if I am wrong:
- I create the service
Loadbalancerwith theannotationsin the samenamespaceof myingress-controllerright? - Then I create an
ingresswith labelkubernetes.io/ingress-controller=nginxin mydefaultnamespace with the settings to point to my services in thedefaultnamespace (one for frontend, one for backend)
Is this the correct way to set this up?