SlideShare a Scribd company logo
Optimizing
Kubernetes networking
Laurent BERNAILLE
@lbernail
Throughput
Trillions of data points daily
Scale
1000-2000 nodes clusters
Network challenges
Latency
End-to-end pipeline
Topology
Multiple clusters
Access from standard VMs
IPVS
Native Load-balancer
More efficient
Still a bit young
No Bridging
Route on the host
Specific CNI plugins
Better Latency
Less CPU usage
Native pod routing
Pod get standard IPs
No overlay overhead
Cross-cluster access
Much better ingresses
Addressing this in Kubernetes
On premise
BGP
Calico
Kube-router
AWS
Additional IPs on ENIs
AWS EKS CNI plugin
Lyft CNI plugin
GCP
IP aliases
Specific controller config
Native pod routing
Master
Ingress traffic
External
Client
Load-Balancer
pod
pod
pod
kube-proxy
kube-proxy
kube-proxy
NP
NP
NP
Heathchecker
data path
health checks
configuration (from watching ingresses on apiservers)
service-controller
Master
ExternalTrafficPolicy: Local?
External
Client
Load-Balancer
pod
pod
pod
kube-proxy
kube-proxy
kube-proxy
NP
NP
NP
Heathchecker
data path
health checks
configuration (from watching ingresses on apiservers)
service-controller
K8s HTTP ingresses
External
Client
Load-Balancer
pod
pod
pod
kube-proxy
kube-proxy
kube-proxy
NP
NP
NP
Heathchecker
data path
health checks
ingress-controller
configuration (from watching ingresses on apiservers)
Drive HTTP Loadbalancers
L7-proxy ingress controller
data path
health checks
configuration
from watching ingresses/endpoints on apiservers (ingress-controller)
from watching LoadBalancer services (service-controller)
External
Client
Load-Balancer
l7proxy
l7proxy
kube-proxy
kube-proxy
kube-proxy
NP
NP
NP
Heathchecker
ingress-controller
pod
pod
pod
pod
Create l7proxy deployments
Update backends using service endpoints
Master
service-controller
With native pod routing
External
Client
Load-Balancer
pod
pod
pod
Heathchecker
data path
health checks
ingress-controller
configuration (from watching ingresses/endpoints on apiservers)
AWS: ALB with pod IP
GCP: GCLB with NEG
Limited to HTTP ingresses
No TCP/UDP traffic
Need to change LB controllers
(NLB / NEG support TCP)
Limited Loadbalancer support
No ELB
No ILB
Remaining challenges
Thank you
Questions?
@lbernail
Datadog booth
Also, We’re hiring

More Related Content

PDF
Evolution of kube-proxy (Brussels, Fosdem 2020)
PDF
Kubernetes the Very Hard Way. Velocity Berlin 2019
PDF
Kubernetes at Datadog the very hard way
PDF
How the OOM Killer Deleted My Namespace
PDF
Kubernetes the Very Hard Way. Lisa Portland 2019
PDF
Making the most out of kubernetes audit logs
PDF
10 ways to shoot yourself in the foot with kubernetes, #9 will surprise you! ...
PDF
Kubernetes DNS Horror Stories
Evolution of kube-proxy (Brussels, Fosdem 2020)
Kubernetes the Very Hard Way. Velocity Berlin 2019
Kubernetes at Datadog the very hard way
How the OOM Killer Deleted My Namespace
Kubernetes the Very Hard Way. Lisa Portland 2019
Making the most out of kubernetes audit logs
10 ways to shoot yourself in the foot with kubernetes, #9 will surprise you! ...
Kubernetes DNS Horror Stories

What's hot (20)

PPTX
Discovering OpenBSD on AWS
PPTX
Deep Dive in Docker Overlay Networks
PDF
Docker with BGP - OpenDNS
PPTX
[오픈소스컨설팅] Linux Network Troubleshooting
PPTX
Packet Walk(s) In Kubernetes
PPTX
Deeper dive in Docker Overlay Networks
PDF
Kubernetes: Beyond Baby Steps
PDF
[OpenInfra Days Korea 2018] Day 2 - E6 - OpenInfra monitoring with Prometheus
PDF
Kubernetes Networking
PDF
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
PDF
IP Virtual Server(IPVS) 101
PDF
Highly Available Docker Networking With BGP
PDF
Load Balancing 101
PDF
Web scale infrastructures with kubernetes and flannel
PDF
Tuning TCP and NGINX on EC2
PDF
Kubernetes Networking
PDF
IPTABLES Introduction
PDF
Kernel load-balancing for Docker containers using IPVS
PDF
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
PDF
Learning how AWS implement AWS VPC CNI
Discovering OpenBSD on AWS
Deep Dive in Docker Overlay Networks
Docker with BGP - OpenDNS
[오픈소스컨설팅] Linux Network Troubleshooting
Packet Walk(s) In Kubernetes
Deeper dive in Docker Overlay Networks
Kubernetes: Beyond Baby Steps
[OpenInfra Days Korea 2018] Day 2 - E6 - OpenInfra monitoring with Prometheus
Kubernetes Networking
[OpenInfra Days Korea 2018] Day 1 - T4-7: "Ceph 스토리지, PaaS로 서비스 운영하기"
IP Virtual Server(IPVS) 101
Highly Available Docker Networking With BGP
Load Balancing 101
Web scale infrastructures with kubernetes and flannel
Tuning TCP and NGINX on EC2
Kubernetes Networking
IPTABLES Introduction
Kernel load-balancing for Docker containers using IPVS
[오픈소스컨설팅] EFK Stack 소개와 설치 방법
Learning how AWS implement AWS VPC CNI
Ad

Similar to Optimizing kubernetes networking (20)

PDF
Kubernetes Networking - Sreenivas Makam - Google - CC18
PDF
Deep dive into Kubernetes Networking
PPTX
Nynog-K8s-networking-101.pptx
PDF
Container network security
PDF
Kubernetes networking-made-easy-with-open-v switch
PDF
OpenContrail SDN for Kubernetes
PDF
The Simply Complex Task of Implementing Kubernetes Ingress - Velocity NYC
PDF
Kubernetes networking
PDF
Kubernetes Network Observability with Cilium and Hubble
PDF
The Journey to the Kubernetes networking.pdf
PDF
Kubernetes Networking 101
PPTX
Open stackaustinmeetupsept21
PDF
Kubernetes OpenContrail Meetup
PDF
Kubernetes Networking 101 kubecon EU 2022
PPTX
PDF
Kubernetes Ingress 101
PPTX
Kubernetes on open stack
PPTX
Kubernetes networks
PPTX
KuberNETes - meetup
PDF
How to build a Kubernetes networking solution from scratch
Kubernetes Networking - Sreenivas Makam - Google - CC18
Deep dive into Kubernetes Networking
Nynog-K8s-networking-101.pptx
Container network security
Kubernetes networking-made-easy-with-open-v switch
OpenContrail SDN for Kubernetes
The Simply Complex Task of Implementing Kubernetes Ingress - Velocity NYC
Kubernetes networking
Kubernetes Network Observability with Cilium and Hubble
The Journey to the Kubernetes networking.pdf
Kubernetes Networking 101
Open stackaustinmeetupsept21
Kubernetes OpenContrail Meetup
Kubernetes Networking 101 kubecon EU 2022
Kubernetes Ingress 101
Kubernetes on open stack
Kubernetes networks
KuberNETes - meetup
How to build a Kubernetes networking solution from scratch
Ad

More from Laurent Bernaille (6)

PDF
10 ways to shoot yourself in the foot with kubernetes, #9 will surprise you!
PPTX
Operational challenges behind Serverless architectures
PPTX
Deep dive in Docker Overlay Networks
PDF
Feedback on AWS re:invent 2016
PDF
Early recognition of encryted applications
PDF
Early application identification. CONEXT 2006
10 ways to shoot yourself in the foot with kubernetes, #9 will surprise you!
Operational challenges behind Serverless architectures
Deep dive in Docker Overlay Networks
Feedback on AWS re:invent 2016
Early recognition of encryted applications
Early application identification. CONEXT 2006

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Cloud computing and distributed systems.
PPTX
Big Data Technologies - Introduction.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Weekly Chronicles - August'25 Week I
Cloud computing and distributed systems.
Big Data Technologies - Introduction.pptx
Empathic Computing: Creating Shared Understanding
Advanced methodologies resolving dimensionality complications for autism neur...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Building Integrated photovoltaic BIPV_UPV.pdf
Encapsulation_ Review paper, used for researhc scholars
Spectral efficient network and resource selection model in 5G networks
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
MYSQL Presentation for SQL database connectivity
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Per capita expenditure prediction using model stacking based on satellite ima...
cuic standard and advanced reporting.pdf

Optimizing kubernetes networking