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
• 18,520 points
1,186 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
• 52,350 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, 2019 in Kubernetes by lyza
49,932 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
• 52,350 points
1,555 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
• 7,060 points
5,660 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
• 52,350 points
2,103 views
+1 vote
1 answer
0 votes
3 answers

Nginx reverse proxy URL getting rewritten

Hey @Gopi, try your ingress probably like ...READ MORE

answered Feb 12, 2019 in Kubernetes by Kalgi
• 52,350 points
4,799 views
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
• 52,350 points
3,183 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
• 52,350 points
790 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP