SlideShare a Scribd company logo
Insights on Kubernetes networking
Engineer AbdelRahman Adel
Prepared by
Better understanding of the picture
Easier bug Fixing
Cleaner Solution
Evolution of Services’ communication model
Strongly Coupled Services
Coupling to a Gateway
Resolving names instead
Update Gateway when scaling out service.
Update DNS when Gateways change.
Still need to manually:
Kubernetes Model
Pod is a collection of containers sharing the same network namespace.
Each pod has a unique IP.
Pods can be viewed more like a VM.
Pod is the atomic unit of work.
IP 1
IP 2
IP 3
IP 4
IP 5
IP 6
IP 7
IP 8
IP 9
IP 1
IP 2
IP 3
IP 4
IP 5
IP 6
IP 7
IP 8
IP 9
Destination: IP3
Destination: IP3
Destination: IP3
Destination: IP3
12
3
4
Kubernetes is responsible to deliver packet once arrived at the correct node.
BUT
Its your network’s responsibility to deliver it to the correct node
Manually Configure our network ?
IP 1
IP 2
IP 3
IP 4
IP 5
IP 6
IP 7
IP 8
IP 9
Virtual IP Real IP
IP1 Node1
IP2 Node1
IP3 Node1
IP4 Node2
IP5 Node2
IP6 Node2
IP7 Node3
Third Party Plugin
Overlay Network
Flannel Software Defined Network
IP 1
IP 2
IP 3
IP 4
IP 5
IP 6
IP 7
IP 8
IP 9
Destination: IP3
4
Destination: Node1
Destination: IP3
Destination: Node1
Destination: IP3
Destination: IP3
Destination: IP3
Flannel Flannel Flannel
Cluster on Public Cloud?
AWS VPC CNI for Kubernetes
Google Compute Engine (GCE)
Services
IP 1
IP 2
IP 3
IP 4
IP 5
IP 6
IP 7
IP 8
IP 9
MessageHubService Message_ClusterIP
Message_ClusterIP IP 2
IP 3
IP 4
Message_ClusterIP IP 2
IP 3
IP 4
Message_ClusterIP IP 2
IP 3
IP 4
IP 1
IP 2
IP 3
IP 4
IP 5
IP 6
IP 7
IP 8
IP 9
MessageHubService Message_ClusterIP
Message_ClusterIP IP 2
IP 3
IP 4
Message_ClusterIP IP 2
IP 3
IP 4
Message_ClusterIP IP 2
IP 3
IP 4
IP 1
IP 2
IP 3
IP 7
IP 8
IP 9
MessageHubService Message_ClusterIP
Message_ClusterIP IP 2
IP 3
IP 4
Message_ClusterIP IP 2
IP 3
IP 4
IP 1
IP 2
IP 3
IP 7
IP 8
IP 9
MessageHubService Message_ClusterIP
Message_ClusterIP IP 2
IP 3
IP 9
Message_ClusterIP IP 2
IP 3
IP 9
Thank you

More Related Content

PDF
Metaswitch Project Calico
PPTX
Container Networking: the Gotchas (Mesos London Meetup 11 May 2016)
PDF
Clocker, Calico and Docker
PDF
Kernel advantages for Istio realized with Cilium
PDF
Docker Networking with Project Calico
PDF
Serverless Networking - How We Provide Cloud-Native Connectivity for IoT Devices
PPTX
Intro to Project Calico: a pure layer 3 approach to scale-out networking
PDF
Cilium: Seattle Kubernetes MeetUp Dec 2017
Metaswitch Project Calico
Container Networking: the Gotchas (Mesos London Meetup 11 May 2016)
Clocker, Calico and Docker
Kernel advantages for Istio realized with Cilium
Docker Networking with Project Calico
Serverless Networking - How We Provide Cloud-Native Connectivity for IoT Devices
Intro to Project Calico: a pure layer 3 approach to scale-out networking
Cilium: Seattle Kubernetes MeetUp Dec 2017

What's hot (20)

PDF
Kubernetes (and OpenShift) for developers
PDF
Introduction to the Container Networking and Security
PDF
Simplifying Real Time Data Analytics with Docker, IoT & Cloud
PDF
[DevOps Pro Europe 2020] The Cloud-Native and DevOps Friendly Programming Lan...
PDF
Ballerina – An Open-Source, Cloud-Native Programming Language for Microservices
PDF
How our Cloudy Mindsets Approached Physical Routers
PPTX
СТАНІСЛАВ КОЛЕНКІН «Cilium – Network security for microservices. Let’s see ho...
PPTX
Container Networking Meetup March 31 2016
PDF
Cisco Live 2017: Container networking deep dive with Docker Enterprise Editio...
PPTX
Container world hybridnetworking_rev2
PDF
How to Run Kubernetes in Restrictive Environments
PDF
How to install and use Kubernetes
PPT
Deploying calico on kubernetes
PDF
Effective microservices development with ballerina
PPTX
Introduction of open stack transaction service
PDF
[Downtown San Jose DevOps Meetup] Ballerina - A Programming Language for Clou...
PDF
[ApacheCon NA 2019] Conquering Network Distributed Applications Using the Bal...
PDF
Deploying vn fs with kubernetes pods and vms
PDF
The elements of kubernetes
Kubernetes (and OpenShift) for developers
Introduction to the Container Networking and Security
Simplifying Real Time Data Analytics with Docker, IoT & Cloud
[DevOps Pro Europe 2020] The Cloud-Native and DevOps Friendly Programming Lan...
Ballerina – An Open-Source, Cloud-Native Programming Language for Microservices
How our Cloudy Mindsets Approached Physical Routers
СТАНІСЛАВ КОЛЕНКІН «Cilium – Network security for microservices. Let’s see ho...
Container Networking Meetup March 31 2016
Cisco Live 2017: Container networking deep dive with Docker Enterprise Editio...
Container world hybridnetworking_rev2
How to Run Kubernetes in Restrictive Environments
How to install and use Kubernetes
Deploying calico on kubernetes
Effective microservices development with ballerina
Introduction of open stack transaction service
[Downtown San Jose DevOps Meetup] Ballerina - A Programming Language for Clou...
[ApacheCon NA 2019] Conquering Network Distributed Applications Using the Bal...
Deploying vn fs with kubernetes pods and vms
The elements of kubernetes
Ad

Similar to Cairo Kubernetes Meetup - October event Talk #2 (20)

PPTX
KuberNETes - meetup
PPTX
Kubernetes on open stack
ODP
Network services on Kubernetes on premise
PPTX
Kubernetes from the ground up
PPTX
Nynog-K8s-networking-101.pptx
PDF
Container network security
PDF
The Journey to the Kubernetes networking.pdf
PPTX
Packet Walk(s) In Kubernetes
PDF
Kubernetes From Scratch .pdf
PDF
prodops.io k8s presentation
PDF
Packet walks in_kubernetes-v4
PDF
Webinar- Tea for the Tillerman
PDF
Kubernetes at Datadog Scale
PDF
Kubernetes networking - basics
PDF
Lessons learned and challenges faced while running Kubernetes at Scale
PDF
Getting Started with Kubernetes
PPTX
Kubernetes Networking 101
PPTX
Kubernetes networks
PDF
The Kubernetes Certification - Docker and Kubernetes Course.pdf
PDF
Networking in Kubernetes
KuberNETes - meetup
Kubernetes on open stack
Network services on Kubernetes on premise
Kubernetes from the ground up
Nynog-K8s-networking-101.pptx
Container network security
The Journey to the Kubernetes networking.pdf
Packet Walk(s) In Kubernetes
Kubernetes From Scratch .pdf
prodops.io k8s presentation
Packet walks in_kubernetes-v4
Webinar- Tea for the Tillerman
Kubernetes at Datadog Scale
Kubernetes networking - basics
Lessons learned and challenges faced while running Kubernetes at Scale
Getting Started with Kubernetes
Kubernetes Networking 101
Kubernetes networks
The Kubernetes Certification - Docker and Kubernetes Course.pdf
Networking in Kubernetes
Ad

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Approach and Philosophy of On baking technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Empathic Computing: Creating Shared Understanding
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Spectroscopy.pptx food analysis technology
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
The AUB Centre for AI in Media Proposal.docx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
Reach Out and Touch Someone: Haptics and Empathic Computing
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Review of recent advances in non-invasive hemoglobin estimation
sap open course for s4hana steps from ECC to s4
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
“AI and Expert System Decision Support & Business Intelligence Systems”
Empathic Computing: Creating Shared Understanding
Building Integrated photovoltaic BIPV_UPV.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MYSQL Presentation for SQL database connectivity
Advanced methodologies resolving dimensionality complications for autism neur...
Spectroscopy.pptx food analysis technology
Mobile App Security Testing_ A Comprehensive Guide.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
cuic standard and advanced reporting.pdf
MIND Revenue Release Quarter 2 2025 Press Release

Cairo Kubernetes Meetup - October event Talk #2