Kubernetes: Cluster Integration: Services: Getting in and out of the cluster

Поділитися
Вставка
  • Опубліковано 16 гру 2024

КОМЕНТАРІ • 9

  • @SomratDutta-n7g
    @SomratDutta-n7g 6 місяців тому

    i was so confused about this topic, saw many videos, but this series just cleared everything!
    please make more stuff!

  • @detran2007
    @detran2007 5 років тому +1

    Very informative video. Thank you.

  • @rafalo2323
    @rafalo2323 6 років тому +2

    thank you

  • @kind03cn
    @kind03cn 2 роки тому

    why kube-proxy is on node2? shouldn't it be on master?

    • @CemAnaral
      @CemAnaral Рік тому

      kube-proxy is actually running in all worker nodes (both node1 and node2 in this case), master does not route incoming requests to the pods. When you create a service of type NodePort, an arbitrary port is opened on every worker node (say 32123 for example), even if the pod is not running on that worker node, it can route that traffic to the node that is running the pod via kube-proxy. Generally, a loadbalancer like haproxy or nginx is put in front of the worker nodes to distribute incoming requests to these worker nodes. I had the same misconception before.

    • @kind03cn
      @kind03cn Рік тому

      @@CemAnaral thx a lot!

    • @CemAnaral
      @CemAnaral Рік тому

      @@kind03cn you're welcome :)

  • @maidulislam2057
    @maidulislam2057 2 роки тому

    thank u sir