I have an EKS cluster. We want - One LB that will redirect to multiple namespace inside the cluster, - Ingress to avoid the "one load balancer for one service". I want to cut it by namespace.
I have been reading a bit of documentation but I can't seem to wrap my head around it. I have this yaml, which I understood would create a LB and the ingress rules.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: simple-fanout-example
namespace : default
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
rules:
- host: domain.com
http:
paths:
- path: /blabla
backend:
serviceName: blabla
servicePort: 8000
- path: /bleble
backend:
serviceName: bleble
servicePort: 8000
This create successfully the ingress but... Nothing else happens?
I'm unsure what I'm missing, would really appreciate some help. Thamks!