SlideShare a Scribd company logo
Multi-Cluster Load Balancing in Kubernetes:
Strategies and Considerations
Tamil Vanan
Tech Lead, Arcesium
Self Introduction
● I'm Tamil Vanan, with over 11 years of
experience in networking, automation,
development, and cloud-native technologies.
● My current role is as a Tech Lead at Arcesium.
● I have a keen interest in exploring and solving
cloud-native use cases.
● In my spare time, I enjoy playing badminton.
● You can reach out to me(@tamilhce) on
Twitter/Linkedin
Introduction
● What is Multi cluster Load balancing in Kubernetes?
● Use cases
● Importance of effective multi-cluster load balancing
Key Networking Constructs
1. Pods-to-pods communication without the need for proxies or
translations using IP addresses.
1. The service abstraction, which groups pods under a common
access policy, creating a virtual IP for transparently proxying
client requests to the pods.
1. Exposing services to the external world using Ingress, Gateway,
or services of type LoadBalancer.
Enabling External Access for Your Kubernetes
Application
How to make your application accessible outside the
kubernetes cluster
● Service of Type LB
● Ingress
● Gateway
Service Based Routing
Ingress Routing
Gateway Routing
Multi-Cluster Load Balancing Strategies
● GSLB (DNS-based Global Server Load Balancing)
● Service Mesh-based Multi-Cluster Load Balancing
● CNI-based Multi-Cluster Load Balancing
GSLB (DNS-based Global Server Load Balancing)
● Load balancing is based on timeproof
DNS protocol which is perfect for
global scope and extremely reliable
● No dedicated management cluster and
no single point of failure
● Reference: K8gb
GSLB (DNS-based Global Server Load Balancing)
● Pros
○ External Client Traffic
■ Ideal for applications with significant external traffic
○ Geographic Distribution
■ directing traffic to the nearest cluster or region based on the client’s location
■ minimizing latency
○ No Dependency
■ It doesn’t have any dependency on the vendor specific CNI, service mesh. Ingress
controller
■ Works with any existing clusters
● Cons
○ enabling fine-grained control over traffic patterns(traffic splitting, circuit breaking, retries, and
fault tolerance) is not applicable
○ DNS TTL
Service Mesh-based Multi-Cluster Load Balancing
● Service Mesh excels provides load balancing
services across multiple clusters, offering
precise control over traffic routing, load
balancing, and service discovery.
● References: Linkerd, Istio
Service Mesh-based Multi-Cluster Load Balancing
● Pros
○ East-West Traffic Handling
■ It’s perfect for east-west traffic, managing communication within and across clusters.
○ Advanced Traffic Management
■ Service Mesh offers advanced traffic management capabilities like traffic splitting, circuit breaking,
retries, and fault tolerance, enabling fine-grained control over traffic patterns
● Cons
○ Vendor Lock-in
■ Implies being tied to a specific service mesh provider, limiting flexibility
○ Scalability Challenges
■ As the number of clusters increases, inter-cluster service becomes more complex and has limitations
on scaling.
○ Increased Complexity and Overhead
■ Introduces additional complexity and overhead for routing external traffic.
CNI-based Multi-Cluster Load Balancing
● Multi-cluster load balancing based on CNI
leverages the underlying CNI for load distribution.
● Pod-to-Pod Communication
● Service Discovery
CNI-based Multi-Cluster Load Balancing
Requirements
● Ensure each Kubernetes worker node has a unique IP address and IP connectivity between all
worker nodes
● Achieve this through VPN tunneling for cross-region clusters or direct physical network connections
for clusters within the same region/DC.
● Assign unique PodCIDR ranges to all clusters.
CNI-based Multi-Cluster Load Balancing
Pros
● Ensure each Kubernetes worker node has a unique IP address and IP connectivity between all worker nodes
● Achieve this through VPN tunneling for cross-region clusters or direct physical network connections for clusters
within the same region/DC.
● Assign unique PodCIDR ranges to all clusters.
Cons
● Vendor Lock-in
○ Involves dependency on a particular CNI provider
● Adds extra overhead and cost implications: overlay networking via VPN, potentially resulting in added expenses and
latency
Selecting the Right Multi-Cluster Load Balancing
Strategy
● Why do you require multi-cluster load balancing?
● is it solely for achieving application high availability and disaster recovery?
● Is your application stateless?
● Does your application need service-to-service communications across clusters? why?
● Are you primarily dealing with HTTP-based applications, or do you also support UDP/TCP-based
services?
● Does your use case necessitate pod-to-pod service connectivity across clusters?
Conclusion
In summary, choosing the right multi-cluster load balancing strategy depends on
your specific requirements:
● DNS-based GSLB - For load balancing external traffic across clusters
spanning multiple regions.
● Service Mesh-based multi-cluster load balancing - When scaling services
across clusters and facilitating east-west communication.
● If your needs revolve around direct pod-to-pod communication across
clusters, opt for the CNI-based approach.
Q&A
● References
○ https://linkerd.io/2.14/features/multicluster
○ https://istio.io/latest/docs/setup/install/multicluster
○ https://cilium.io/blog/2019/03/12/clustermesh
○ https://github.com/k8gb-io/k8gb
● Contact: @tamilhce
Thank You !

More Related Content

PDF
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
PPTX
GCP DevOps Training institute in Ameerpet - Visualpath.pptx
PDF
Kubernetes Networking - Sreenivas Makam - Google - CC18
PDF
Deep dive into Kubernetes Networking
PDF
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
PDF
Kubernetes Networking 101 kubecon EU 2022
PDF
Kubernetes "Ubernetes" Cluster Federation by Quinton Hoole (Google, Inc) Huaw...
PDF
Demystifying Service Mesh
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
GCP DevOps Training institute in Ameerpet - Visualpath.pptx
Kubernetes Networking - Sreenivas Makam - Google - CC18
Deep dive into Kubernetes Networking
Evaluating Global Load Balancing Options for Kubernetes in Practice (Kubermat...
Kubernetes Networking 101 kubecon EU 2022
Kubernetes "Ubernetes" Cluster Federation by Quinton Hoole (Google, Inc) Huaw...
Demystifying Service Mesh

Similar to Multi-Cluster Load Balancing in Kubernetes_ Strategies and Considerations.pptx (20)

PPTX
Multicluster Kubernetes and Service Mesh Patterns
PDF
Scenarios in Which Kubernetes is Used for Container Orchestration of a Web Ap...
PPTX
DevOps Fest 2019. Stanislav Kolenkin. Сonnecting pool Kubernetes clusters: Fe...
PDF
Load Balancing for Containers and Cloud Native Architecture
PDF
Services in kubernetes-KnolX .pdf
PDF
Federation of Kubernetes Clusters (a.k.a. "Ubernetes") - KubeCon 2015 slides ...
PDF
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
PDF
Micro-services meetup
PDF
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
PDF
How to Migrate 100 Clusters from On-Prem to Google Cloud Without Downtime
PDF
How to deal second interface service discovery and load balancer in kubernetes
PDF
Running a distributed system across kubernetes clusters - Kubecon North Ameri...
PDF
cilium-public.pdf
PDF
Load Balancing for Containers and Cloud Native Architecture
PPTX
Load balancing in cloud computing.pptx
PDF
IRJET- Load Balancing Cluster based on Linux Virtual Server
PDF
Scale Kubernetes to support 50000 services
PDF
Container network security
PPTX
Load Balancing in Cloud
PPTX
Mphasis
Multicluster Kubernetes and Service Mesh Patterns
Scenarios in Which Kubernetes is Used for Container Orchestration of a Web Ap...
DevOps Fest 2019. Stanislav Kolenkin. Сonnecting pool Kubernetes clusters: Fe...
Load Balancing for Containers and Cloud Native Architecture
Services in kubernetes-KnolX .pdf
Federation of Kubernetes Clusters (a.k.a. "Ubernetes") - KubeCon 2015 slides ...
Federation of Kubernetes Clusters (Ubernetes) KubeCon 2015 slides - Quinton H...
Micro-services meetup
Kubermatic How to Migrate 100 Clusters from On-Prem to Google Cloud Without D...
How to Migrate 100 Clusters from On-Prem to Google Cloud Without Downtime
How to deal second interface service discovery and load balancer in kubernetes
Running a distributed system across kubernetes clusters - Kubecon North Ameri...
cilium-public.pdf
Load Balancing for Containers and Cloud Native Architecture
Load balancing in cloud computing.pptx
IRJET- Load Balancing Cluster based on Linux Virtual Server
Scale Kubernetes to support 50000 services
Container network security
Load Balancing in Cloud
Mphasis
Ad

Recently uploaded (20)

PPTX
Tartificialntelligence_presentation.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Developing a website for English-speaking practice to English as a foreign la...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
STKI Israel Market Study 2025 version august
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPT
What is a Computer? Input Devices /output devices
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Getting Started with Data Integration: FME Form 101
PPTX
Modernising the Digital Integration Hub
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Tartificialntelligence_presentation.pptx
TLE Review Electricity (Electricity).pptx
O2C Customer Invoices to Receipt V15A.pptx
Developing a website for English-speaking practice to English as a foreign la...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
NewMind AI Weekly Chronicles - August'25-Week II
Programs and apps: productivity, graphics, security and other tools
STKI Israel Market Study 2025 version august
A contest of sentiment analysis: k-nearest neighbor versus neural network
Final SEM Unit 1 for mit wpu at pune .pptx
What is a Computer? Input Devices /output devices
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Getting started with AI Agents and Multi-Agent Systems
Group 1 Presentation -Planning and Decision Making .pptx
Assigned Numbers - 2025 - Bluetooth® Document
Getting Started with Data Integration: FME Form 101
Modernising the Digital Integration Hub
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Ad

Multi-Cluster Load Balancing in Kubernetes_ Strategies and Considerations.pptx

  • 1. Multi-Cluster Load Balancing in Kubernetes: Strategies and Considerations Tamil Vanan Tech Lead, Arcesium
  • 2. Self Introduction ● I'm Tamil Vanan, with over 11 years of experience in networking, automation, development, and cloud-native technologies. ● My current role is as a Tech Lead at Arcesium. ● I have a keen interest in exploring and solving cloud-native use cases. ● In my spare time, I enjoy playing badminton. ● You can reach out to me(@tamilhce) on Twitter/Linkedin
  • 3. Introduction ● What is Multi cluster Load balancing in Kubernetes? ● Use cases ● Importance of effective multi-cluster load balancing
  • 4. Key Networking Constructs 1. Pods-to-pods communication without the need for proxies or translations using IP addresses. 1. The service abstraction, which groups pods under a common access policy, creating a virtual IP for transparently proxying client requests to the pods. 1. Exposing services to the external world using Ingress, Gateway, or services of type LoadBalancer.
  • 5. Enabling External Access for Your Kubernetes Application How to make your application accessible outside the kubernetes cluster ● Service of Type LB ● Ingress ● Gateway Service Based Routing
  • 8. Multi-Cluster Load Balancing Strategies ● GSLB (DNS-based Global Server Load Balancing) ● Service Mesh-based Multi-Cluster Load Balancing ● CNI-based Multi-Cluster Load Balancing
  • 9. GSLB (DNS-based Global Server Load Balancing) ● Load balancing is based on timeproof DNS protocol which is perfect for global scope and extremely reliable ● No dedicated management cluster and no single point of failure ● Reference: K8gb
  • 10. GSLB (DNS-based Global Server Load Balancing) ● Pros ○ External Client Traffic ■ Ideal for applications with significant external traffic ○ Geographic Distribution ■ directing traffic to the nearest cluster or region based on the client’s location ■ minimizing latency ○ No Dependency ■ It doesn’t have any dependency on the vendor specific CNI, service mesh. Ingress controller ■ Works with any existing clusters ● Cons ○ enabling fine-grained control over traffic patterns(traffic splitting, circuit breaking, retries, and fault tolerance) is not applicable ○ DNS TTL
  • 11. Service Mesh-based Multi-Cluster Load Balancing ● Service Mesh excels provides load balancing services across multiple clusters, offering precise control over traffic routing, load balancing, and service discovery. ● References: Linkerd, Istio
  • 12. Service Mesh-based Multi-Cluster Load Balancing ● Pros ○ East-West Traffic Handling ■ It’s perfect for east-west traffic, managing communication within and across clusters. ○ Advanced Traffic Management ■ Service Mesh offers advanced traffic management capabilities like traffic splitting, circuit breaking, retries, and fault tolerance, enabling fine-grained control over traffic patterns ● Cons ○ Vendor Lock-in ■ Implies being tied to a specific service mesh provider, limiting flexibility ○ Scalability Challenges ■ As the number of clusters increases, inter-cluster service becomes more complex and has limitations on scaling. ○ Increased Complexity and Overhead ■ Introduces additional complexity and overhead for routing external traffic.
  • 13. CNI-based Multi-Cluster Load Balancing ● Multi-cluster load balancing based on CNI leverages the underlying CNI for load distribution. ● Pod-to-Pod Communication ● Service Discovery
  • 14. CNI-based Multi-Cluster Load Balancing Requirements ● Ensure each Kubernetes worker node has a unique IP address and IP connectivity between all worker nodes ● Achieve this through VPN tunneling for cross-region clusters or direct physical network connections for clusters within the same region/DC. ● Assign unique PodCIDR ranges to all clusters.
  • 15. CNI-based Multi-Cluster Load Balancing Pros ● Ensure each Kubernetes worker node has a unique IP address and IP connectivity between all worker nodes ● Achieve this through VPN tunneling for cross-region clusters or direct physical network connections for clusters within the same region/DC. ● Assign unique PodCIDR ranges to all clusters. Cons ● Vendor Lock-in ○ Involves dependency on a particular CNI provider ● Adds extra overhead and cost implications: overlay networking via VPN, potentially resulting in added expenses and latency
  • 16. Selecting the Right Multi-Cluster Load Balancing Strategy ● Why do you require multi-cluster load balancing? ● is it solely for achieving application high availability and disaster recovery? ● Is your application stateless? ● Does your application need service-to-service communications across clusters? why? ● Are you primarily dealing with HTTP-based applications, or do you also support UDP/TCP-based services? ● Does your use case necessitate pod-to-pod service connectivity across clusters?
  • 17. Conclusion In summary, choosing the right multi-cluster load balancing strategy depends on your specific requirements: ● DNS-based GSLB - For load balancing external traffic across clusters spanning multiple regions. ● Service Mesh-based multi-cluster load balancing - When scaling services across clusters and facilitating east-west communication. ● If your needs revolve around direct pod-to-pod communication across clusters, opt for the CNI-based approach.
  • 18. Q&A ● References ○ https://linkerd.io/2.14/features/multicluster ○ https://istio.io/latest/docs/setup/install/multicluster ○ https://cilium.io/blog/2019/03/12/clustermesh ○ https://github.com/k8gb-io/k8gb ● Contact: @tamilhce