Services | ClusterIP vs NodePort vs LoadBalancer Service | Load Balancing Hands-on

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ค. 2024
  • n this video we will be discussing everything you need to know about services.
    We'll be understanding the different Service types and their use cases:
    1. ClusterIP Service
    2. Multi-Port Service
    3. NodePort Service
    4. LoadBalancer Service
    So by the end of the video, you’ll have a great understanding of Kubernetes Services and will be able to use them in practice
    Please give a Like and Subscribe - bit.ly/pavanelthepu
    Timestamps:
    00:00 - Intro
    00:55 - Why do we need services?
    02:34 - What is a service?
    03:16 - Advantages of services
    04:02 - Services in action
    06:13 - ClusterIP Service
    11:55 - Load Balancing Hands-on
    15:15 - Multi-Port Services
    16:18 - NodePort Services
    19:10 - LoadBalancer Services
    My other courses:
    Docker Complete Course: • Docker Tutorial | Ful...
    Thank you very much!
    #kubernetes #services #loadbalancing #fullstackdevelopment

ความคิดเห็น • 76

  • @alicoskun3153
    @alicoskun3153 5 หลายเดือนก่อน +3

    You rarely see people proving the points with practical cases. Thank you pal found this very helpul.

    • @PavanElthepu
      @PavanElthepu  5 หลายเดือนก่อน

      Thank you so much. Please subscribe and share with your friends and colleagues

  • @dheereshsingh6415
    @dheereshsingh6415 หลายเดือนก่อน +1

    hats off to you bro, you made the trickiest part of k8 so simple, i got the complete idea about service types, Thanks a lot 😍😍

  • @swayamprakashbhuyan2580
    @swayamprakashbhuyan2580 หลายเดือนก่อน +1

    A rare gem for sure

  • @DigiTechSupport
    @DigiTechSupport หลายเดือนก่อน +1

    I have watched many videos on kubernetes but Your videos most usefull to learn. thankyou for these videos.

  • @supun_sandaruwan
    @supun_sandaruwan หลายเดือนก่อน +1

    Got so many new things as a beginner. Thank you so much for beginner friendly tutorial sir ♥

  • @vishvasingh2768
    @vishvasingh2768 2 ปีที่แล้ว +1

    Described this confusing topic in a easy way. Thank you Pavan👍

  • @georgelza
    @georgelza 2 ปีที่แล้ว +3

    I really like how you diagrams together the node/pod/container and associated it with what values in the various yaml files they are related to...
    asking/hoping, have you done a video showing the implementation for ingress on AWS / EKS. a recent version. bringing all of this together.

  • @pravinawati
    @pravinawati 7 หลายเดือนก่อน +1

    Thanks for video❤

  • @sanjeevareddy721
    @sanjeevareddy721 2 ปีที่แล้ว +1

    Thanks

  • @mkmishra.1997
    @mkmishra.1997 6 หลายเดือนก่อน +1

    very helpful!!

  • @jigneshpatel5469
    @jigneshpatel5469 2 หลายเดือนก่อน +1

    Easy to follow. Very nice explanation. Thanks Pavan. Keep it up 👍

  • @shikhar2811
    @shikhar2811 6 หลายเดือนก่อน +1

    Thanks man, been following your K8s playlist and loving it. Everything is explained in crisp manner.

    • @PavanElthepu
      @PavanElthepu  6 หลายเดือนก่อน

      Thank you Shrikhar. Please subscribe and share with your friends and colleagues

  • @masthanvali3590
    @masthanvali3590 ปีที่แล้ว +1

    Thx

  • @aunogohe1783
    @aunogohe1783 2 ปีที่แล้ว +3

    Thankyou Pavan Elthepu. Now I've understand the services in k8s.

    • @PavanElthepu
      @PavanElthepu  2 ปีที่แล้ว +1

      Stay tuned for more such videos Auno Gohe

  • @kalpagarwal8291
    @kalpagarwal8291 3 หลายเดือนก่อน

    thanks for the great content. I have a question: What enables a pod to be port-forwarded? can all the pods be port forwarded? some jumpbox running as pods does not support port-forwarding.

  • @kssaggu77
    @kssaggu77 10 หลายเดือนก่อน +3

    Thanks Pavan, your explanation is both detailed and crisp. I learned more from this than paid Udemy courses. Good work!!

    • @PavanElthepu
      @PavanElthepu  10 หลายเดือนก่อน

      Means a lot! Thank you so much. Please subscribe and share with your friends and colleagues

  • @zxcvbnm50748
    @zxcvbnm50748 ปีที่แล้ว +1

    Thank you Pavan for this easy-to-understand video on K8s services. Your explanation has been spot on and made the concept clear.

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      Thank you Sandeep. Please subscribe and share with your friends and colleagues

  • @MrSalFav
    @MrSalFav ปีที่แล้ว +1

    I watched may tutorial on K* , yours are really one of best and really hands on . Thakn you !

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      Thank you so much Saleem. Means a lot. Please subscribe and share with your friends and colleagues. Happy Learning!

  • @raghuvardhansaripalli9636
    @raghuvardhansaripalli9636 ปีที่แล้ว +2

    Pavan, Simply superb. the entire K8S story in 20 minutes you explained. Your video is FAR FAR BEST than Nana video. God bless you . thank you. I wish you to make more such videos . thank you again

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      Wow, really overwhelmed with your love. Thank you so much Raghu Vardhan. Please subscribe and share with your friends and colleagues.

  • @Ayush-lj6pq
    @Ayush-lj6pq ปีที่แล้ว +1

    Easy and in detail explanation ❤❤

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      Thanks a lot😊. Please subscribe and share with your friends and colleagues

  • @attilauhljar3636
    @attilauhljar3636 6 หลายเดือนก่อน

    This cleared up so many questions I had after watching a bunch of other videos. Great job!
    Question: can I have both a LB service and a nodeport service to the same app? I want a VIP to my whole Openfire cluster, but also be able to log into the individual nodes' web console

  • @wonderful001100
    @wonderful001100 9 หลายเดือนก่อน +1

    Awesome work, you save my time.

    • @PavanElthepu
      @PavanElthepu  9 หลายเดือนก่อน +1

      Thank you, please subscribe and share with your friends and colleagues

  • @user-hx6bh2fe8o
    @user-hx6bh2fe8o 7 หลายเดือนก่อน

    With ClusterIP-type service, you showed load balancer runs properly by running your script since kube-proxy does as a load balancer. With Load Balancer-type service, the kube-proxy load balancer runs or not? The kube-proxy load balancer runs ONLY when ClusterIP or NodePort-type service is configured?

  • @user-en7og9yb7x
    @user-en7og9yb7x 7 หลายเดือนก่อน +1

    sir you really did a very good job after listening your classes i have cracked interview thank you very much..i owe you.

    • @PavanElthepu
      @PavanElthepu  7 หลายเดือนก่อน

      Wow, that’s great to hear. Many congratulations💐💐

  • @bakre_dev8728
    @bakre_dev8728 3 หลายเดือนก่อน +1

    Thank you

    • @PavanElthepu
      @PavanElthepu  3 หลายเดือนก่อน +1

      Thank you so much. Please subscribe and share with your friends and colleagues

  • @celestinjoyk7949
    @celestinjoyk7949 ปีที่แล้ว +1

    This explanation was too good pavan♥️♥️

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      Thank you 🙏. Please subscribe and share with your friends and colleagues

  • @madhavarajduraisamy3024
    @madhavarajduraisamy3024 8 หลายเดือนก่อน +1

    Nice Pavan ..Simple and elegent.

    • @PavanElthepu
      @PavanElthepu  8 หลายเดือนก่อน

      Thank you so much. Please subscribe and share with your friends and colleagues🙏

  • @mubashir1976
    @mubashir1976 ปีที่แล้ว

    Hi Pavan, quick question on node port service, let say we have two worker nodes, with ips: 1.1.1.1, 1.1.1.2 respectively, pod1 is on node1. If we have to use node port service ( say 3000) we must also know which node is running the pod . In our case it is worker node1, if node1 goes down, Pod1 will be run on worker node2 but external users does not know that. they continue to use 1.1.1.1:3000. Right?
    Much appreciated!!

  • @udayyatham7316
    @udayyatham7316 6 หลายเดือนก่อน

    bro how to create local host in linux could you plz explain

  • @naveenprasad432
    @naveenprasad432 8 หลายเดือนก่อน +1

    Your way of explanation and especially the pictorial representation is like awesome
    Anyone who watch this session will have no further doubts
    Good work , keep it up
    Thanks for this

    • @PavanElthepu
      @PavanElthepu  8 หลายเดือนก่อน +1

      Thank you so much Naveen. Please subscribe and share with your friends and colleagues

    • @naveenprasad432
      @naveenprasad432 8 หลายเดือนก่อน +1

      Sure i will

  • @singhvirendra18
    @singhvirendra18 2 ปีที่แล้ว

    I can curl from pod1 to pod2 using clusterIP successful but curl using service name gives response " could not resolve host ... "
    What could be the reason please suggest

  • @rex-dj5cu
    @rex-dj5cu 11 หลายเดือนก่อน

    How service port and pod port is same?

  • @sauplmaity2868
    @sauplmaity2868 ปีที่แล้ว +1

    Excellent Sir

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว +1

      Thank you. Please subscribe and share with your friends and colleagues

    • @sauplmaity2868
      @sauplmaity2868 ปีที่แล้ว +1

      @@PavanElthepu subscribed..!!

  • @onirkayas4385
    @onirkayas4385 2 ปีที่แล้ว

    Y could not we access application on master node when we do curl cluster IP
    Curl cluster IP:port
    Above command I run on master node
    But didnot access

  • @jalandharbehera2456
    @jalandharbehera2456 ปีที่แล้ว

    Hi Bro, your videos are very informative and heart touching and please make videos regarding real time tasks in kuberntes that how we will resolve it, if you will make this type of videos then we feel proud and lots of help so please bro....🙏🙏

  • @praveenmustoor654
    @praveenmustoor654 10 หลายเดือนก่อน

    Thanks Pavan for the videos, clear explanations. can you please the GIT repo so that it will be easier to practice.

    • @PavanElthepu
      @PavanElthepu  10 หลายเดือนก่อน

      Hi Praveen, you can find all the resources here: github.com/pelthepu/Kubernetes/tree/master/resources

    • @praveenmustoor654
      @praveenmustoor654 10 หลายเดือนก่อน

      @@PavanElthepu Am able to ping the pods without getting into the pods, with curl : i can get the pods response

  • @rakeshmithra6199
    @rakeshmithra6199 2 ปีที่แล้ว +1

    Nice explanation with easy way to understand hard topics ..Thankyou ..please Add Head less service also??..

    • @PavanElthepu
      @PavanElthepu  2 ปีที่แล้ว +1

      Thank you so much Rakesh. I'll cover it in some other video when we get a use case.

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      Hi Rakesh, I uploaded Statefulset video and that will cover headless
      th-cam.com/video/eUa-IDPGL-Q/w-d-xo.html

  • @smohanty3507
    @smohanty3507 ปีที่แล้ว +1

    could you please explain how nodePort works in multiple node scenario.

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      Sure Mohanty. I’ll try to make a video on it

  • @priyanshu4016
    @priyanshu4016 9 หลายเดือนก่อน +1

    can you plan for series for isio

  • @rohanrustagi7857
    @rohanrustagi7857 ปีที่แล้ว +1

    sir can you please explain multi-port service?

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      I'll try to see if I can make a short video on it

  • @user-bu3em6zg4r
    @user-bu3em6zg4r 2 หลายเดือนก่อน +1

    @19:52 though we change the type: Loadbalance we still kept nodePort: 30000 👈 No problem If we place it over there?

    • @PavanElthepu
      @PavanElthepu  2 หลายเดือนก่อน

      No problem

    • @user-bu3em6zg4r
      @user-bu3em6zg4r 2 หลายเดือนก่อน +1

      @@PavanElthepu thanks Pavan Sir

  • @ashishM11
    @ashishM11 7 หลายเดือนก่อน

    Hi, Pawan when I am trying to access Nodeport service from browser it doesn't work any suggestions. I followed exactly what you did in the video.

  • @RandyL86
    @RandyL86 ปีที่แล้ว +2

    Good video but you need a new microphone. Hard to understand you.

  • @md.zaferiqbal3289
    @md.zaferiqbal3289 ปีที่แล้ว

    how can i get local cluster ip using kind , i am not using minikube (minikube ip -p local-cluster)

    • @PavanElthepu
      @PavanElthepu  ปีที่แล้ว

      in Kind, you can use the kubectl get nodes -o wide command to get the IP address of the control-plane node, which is the IP address of the Kubernetes cluster

  • @priyanshu4016
    @priyanshu4016 9 หลายเดือนก่อน

    *istio

  • @srinivasanramu989
    @srinivasanramu989 2 ปีที่แล้ว +2

    Hi Pavan, I have created my own k8s cluster with one master and one worker nodes using kubeadm. I deployed my spring boot application and exposed a NodePort service for my spring boot deployment. My master node IP is 192.168.254.xx and my worker node IP is 192.168.254.yy, my node port service port is 30000, now could you please guide me on how to access my spring boot on the internet?

    • @PavanElthepu
      @PavanElthepu  2 ปีที่แล้ว +1

      Hi Srinivasan,
      If your node is reachable from outside of the Kubernetes cluster, you can access it with 192.168.254.yy:30000