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,570 points
870 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,360 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
48,809 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,360 points
1,259 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,050 points
5,151 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,360 points
1,784 views
+1 vote
1 answer
0 votes
1 answer

Nginx routing for kubernetes services

Hey, backend is a service running on ...READ MORE

answered Feb 8, 2019 in Kubernetes by Kalgi
• 52,360 points
1,111 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,360 points
2,785 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,360 points
586 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