Forem

Cover image for #045 Kubernetes - Services 5
Omar
Omar

Posted on

4 2

#045 Kubernetes - Services 5

Introduction

intro

this is part 45 from the journey it's a long journey(360 day) so go please check previous parts , and if you need to walk in the journey with me please make sure to follow because I may post more than once in 1 Day but surely I will post daily at least one 😍.

And I will cover lot of tools as we move on.


Load balancer

nodeport
In NodePort every Node get an ip (minikube is a single local Node) .
I can access every node by it's IP even if it's an duplicate (replica) of another one , if we assume we have an big software , it's illogical to use many ips for our software.
The solution is to use a LoadBalancer.
LoadBalancer
LoadBalancer create an external ip can drive us to any pod what ever the node it's inside of it.
LoadBalancer is good for big softwares , but not very very big software with many services every external IP address we pay for it so we can use Ingress , the Ingress do LoadBalaning for all the services.
loadblncYml
This is an look at LoadBalancer , we just put the type to LoadBalancer.

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay