I'm implementing this example with az aks
. I want to use ingress in order to use easily the reverse proxy as in the example with a container redirected to /tea
and the other to /coffee
based on the ingress simple rules.
rules:
- host: cafe.example.com
http:
paths:
- path: /tea
backend:
serviceName: tea-svc
servicePort: 80
- path: /coffee
backend:
serviceName: coffee-svc
servicePort: 80
I follow the steps, however, azure wont give an ip address to my ingress as you can see.
$ kubectl get ingress
NAME HOSTS ADDRESS PORTS AGE
demo-ingress demo.mydomain.com 80, 443 17h
I think azure only give addresses to the loadbalancers. Is there any workaround or solution for this? Can I somehow say azure
to give an IP to my ingress?
As some additional info, I also tried `helm:
helm install stable/nginx-ingress --set controller.publishService.enabled=true
However I'm a complete novice and it seems to do nothing.