Expose multiple backends with multiple IPs

0 votes
I have exposed one service using ingress through nginx controller and it works perfectly fine. Now, i'm trying to expose another service that does make use of the ingress resources but it does not work after i've added a few resources to the first service. Why is this happening?
Oct 1, 2018 in Kubernetes by Hannah
• 15,340 points
36 views

1 answer to this question.

0 votes
A LoadBalancer service points to external load balancers and are not a part of cluster, that is on your cloud provider

Whereas ingress is just set of rules that is passed to the controller that is listening the resources allocated. You need an ingress-controller that holds all the routing and traffic forwarding rules. Even a LoadBalancer service will listen to ingress provided the ingress-controller contains the required rules.
answered Oct 1, 2018 by Kalgi
• 41,620 points

Related Questions In Kubernetes

0 votes
3 answers

Using multiple commands in a kubernetes yaml file

Try something like this: containers: - name: ...READ MORE

answered Apr 23 in Kubernetes by lyza
5,633 views
0 votes
1 answer

Traefik with Docker Stack doesn't detect port

When using traefik configured for swarm mode, ...READ MORE

answered Aug 29, 2018 in Kubernetes by Kalgi
• 41,620 points
230 views
0 votes
2 answers

DNS does not resolve with NGINX in Kubernetes

adding to @kalgi's answer Using just the hostname ...READ MORE

answered Aug 30, 2018 in Kubernetes by Nilesh
• 6,880 points
553 views
0 votes
1 answer

config-map kubernetes multiple environments

Deploy your application as helm chart.  After having ...READ MORE

answered Aug 31, 2018 in Kubernetes by Kalgi
• 41,620 points
256 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is possible to have same k8s service for multiple pods?

Reserve a static IP and then assign ...READ MORE

answered Jul 20, 2018 in Kubernetes by Kalgi
• 41,620 points
42 views
0 votes
1 answer

Kubernetes Endpoints with TTL

Follow these steps: add an annotation to each ...READ MORE

answered Aug 27, 2018 in Kubernetes by Kalgi
• 41,620 points
51 views