Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Kubernetes for Developers - All Day DevOps
Search
Hossam Barakat
November 06, 2019
Programming
2
180
Kubernetes for Developers - All Day DevOps
Hossam Barakat
November 06, 2019
Tweet
Share
More Decks by Hossam Barakat
See All by Hossam Barakat
Build Your Cloud Infrastructure as Code With .Net Core - Build Stuff
hossambarakat
0
76
Kubernetes Blue-Green Deployment Made Easy with Argo Rollouts - ADDO
hossambarakat
0
130
Build Your Azure Infrastructure as Code With .NET Core - Azure Day
hossambarakat
0
40
Build Your Azure Infrastructure as Code With .Net Core - Global Azure 2021
hossambarakat
0
59
Practical Domain-Driven Design with EF Core - NDC London 2021
hossambarakat
0
250
Build Your Cloud Infrastructure as Code With .Net Core - ADDO 2020
hossambarakat
0
150
Practical Domain Driven Design With EFCore - NDC Sydney 2020
hossambarakat
0
140
Build Your Cloud Infrastructure as Code With .Net Core - NDC Porto 2020
hossambarakat
2
160
Secure your Kubernetes Containers - All Day DevOps
hossambarakat
0
120
Other Decks in Programming
See All in Programming
AIエージェントの設計で注意するべきポイント6選
har1101
6
3.2k
Python札幌 LT資料
t3tra
7
1.1k
ゆくKotlin くるRust
exoego
1
210
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.6k
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
1.9k
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
1.2k
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
140
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
290
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.7k
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
180
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
250
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
340
Featured
See All Featured
Speed Design
sergeychernyshev
33
1.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
It's Worth the Effort
3n
188
29k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Bash Introduction
62gerente
615
210k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
120
Building Adaptive Systems
keathley
44
2.9k
The agentic SEO stack - context over prompts
schlessera
0
600
For a Future-Friendly Web
brad_frost
181
10k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.6k
Transcript
Kubernetes for Developers Hossam Barakat Lead Consultant at Telstra Purple
@hossambarakat_
@hossambarakat_ • What is Kubernetes? • Why Kubernetes? • Kubernetes
Architecture • Deploy Web App with DB on Kubernetes Agenda
@hossambarakat_ Containers Hardware Host Operating System Application Application Application Container
Dependencies Application Host Operating System Hardware Container Engine Container Container Container Container Hardware Host Operating System Virtual Machine Guest OS Application Virtual Machine Guest OS Application Hypervisor
@hossambarakat_ The application is deployed to production
@hossambarakat_ Then the application went viral
@hossambarakat_ Containers bring scalability challenges!
@hossambarakat_ Container orchestration platforms to rescue
@hossambarakat_ • Service discovery • Scaling • Health monitoring •
Failover • Networking • Scheduling • Coordinated app upgrades Container Orchestration
@hossambarakat_ Kubernetes
@hossambarakat_ Kubernetes Architecture Master Worker Worker Client Worker Cluster
@hossambarakat_ Kubernetes Architecture Master API Server Scheduler Worker Kubelet Container
Runtime UI (Dashboard) CLI (Kubectl) Other Client(s) Container Container Cluster
@hossambarakat_ ASP .NET App On Kubernetes ASP.NET Application
@hossambarakat_ ASP .NET App On Kubernetes ASP.NET Application ASP.NET Application
ASP.NET Application
@hossambarakat_ Pods
@hossambarakat_ Pods Pod
@hossambarakat_ Pods Scaling Pod Pod
@hossambarakat_ Pod kind: Pod apiVersion: v1 metadata: name: tasks-app spec:
containers: - name: tasks-app image: hossambarakat/tasklist ports: - containerPort: 80 $ Kubectl apply -f pod.yaml
@hossambarakat_ But wait… what happens if the pod dies?
@hossambarakat_ ReplicaSets Pod ReplicaSet Pod
@hossambarakat_
@hossambarakat_ Deployment ReplicaSet Deployment Pod Pod
@hossambarakat_ Deployment Rollout Deployment ReplicaSet V2 Pod Pod ReplicaSet V1
Pod Pod
@hossambarakat_
@hossambarakat_ Connecting to Pods 10.0.0.1 DB Pod A 10.0.0.2 DB
Pod B ASP.NET Pod
@hossambarakat_ Service 10.0.0.2 Pod B 10.0.0.3 Pod C IP: 10.0.0.30
DNS: myservice Service 10.0.0.1 Pod A
@hossambarakat_ Service IP: 10.0.0.30 DNS: tasks-app-svc Service IP: 10.0.0.90 DNS:
mssql-service Service 10.0.0.1 Pod 10.0.0.1 Pod 10.0.0.1 Pod
@hossambarakat_
@hossambarakat_ Kubernetes in the cloud
Azure AKS $ az aks create -g myResourceGroup -n myCluster
--generate-ssh-keys $ az aks upgrade --kubernetes-version 1.12.6 --name myCluster --resource-group myResourceGroup $ az aks scale -g myResourceGroup -n myCluster --node-count 6
@hossambarakat_ • Scale agent nodes based on pending pods and
nodes utilization • Scans the cluster periodically to check for pending pods or empty nodes and increases the size if possible AKS Cluster Autoscaler
@hossambarakat_ • Kubernetes Architecture • Deploy application using different workloads
• Kubernetes in the cloud Summary
@hossambarakat_ • https://github.com/hossambarakat/TaskList • Introduction to Kubernetes (edX) • Learn
Kubernetes using Interactive Hands-on Scenarios (Katacoda) • https://kubernetes.io/docs/ Resources
@hossambarakat_ Questions? #2019addo-cloudnative
None
Thanks Hossam Barakat @hossambarakat_