- That’s right
I want to register the service in the consul with the External IP of my ingress controller.
I am creating an ingress resource:
kind: Ingress
apiVersion: extensions / v1beta1
metadata:
name: ping-ingress
namespace: test
spec:
rules:
- host: production.test.service.example.com
http:
paths:- path: /
backend:
serviceName: podinfo
servicePort: 9898
- path: /
After that, if I try to access IP Ingress with the Host Header “production.test.service.example.com”, then I will get a response from my service, but I would like to register this name in the Consul as well and refer to the controller IP ingress