[Kubernetes] Node architecture with service

Rex Chiang
1 min readApr 6, 2022

--

Kubelet

  • Take responsibility for pods management and communication with master node.
  • If Kubelet receive order from master node, it will create pods.

Kube-Proxy

  • Kube-Proxy updates the latest information of pods to iptables, and ensure pods can be accessed by other objects in cluster.
  • Kube-Proxy generates iptables rules to control routing inside a cluster.
  • If pods are created, Kube-Proxy will update these pods information to iptables.

Load Balancing

  • Load balancer service acts as a traffic controller, routing client requests to the nodes capable of serving them quickly and efficiently.
  • If there have external requests, Load Balancing take responsibility for delivering requests to specific node.

iptables

  • iptables control and filter network traffic through the Linux firewall.
  • According to the rules Kube-Proxy generated, traffic is directed to an end location.
  • When nodes receive requests, iptables will take responsibility for delivering requests to specific pod.

--

--

No responses yet