Trending Technology Machine Learning, Artificial Intelligent, Block Chain, IoT, DevOps, Data Science

Recent Post

Codecademy Code Foundations

Search This Blog

Kubernetes : Virtual IPs and service proxies

Services : Virtual IPs and service proxies

Every node in a Kubernetes cluster runs a kube-proxy. kube-proxy is responsible for implementing a form of virtual IP for Services of type other than ExternalName.

Proxy-mode: userspace :



Proxy-mode : iptables



Proxy-mode : ipvs

In this mode, kube-proxy watches Kubernetes Service and Endpoints, calls netlink interface to create ipvs rules accordingly and syncs ipvs rules with Kubernetes with the expectation.

ipvs provides more option for load balancing algorithm, such as :
  • rr : round-robin
  • Ic : least connection
  • dh : destination hashing
  • sh : source hashing
  • sed : shortest expected delay
  • nq : never queue

No comments:

Post a Comment

Popular Posts