DEV Community

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.

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More