SlideShare a Scribd company logo
Automated Container
Deployment on Kubernetes
An intro to kubernetes
David Chang
Linkernetworks
BackEnd, DevOps,
Docker, Kubernetes
dchang@linkernetworks.com
Outline
• What is Kubernetes
• Deploy a containerized app
• Deploy a app to Kubernetes. Pros & Cons
• Real world cases
What is Kubernetes
Kubernetes is an open-source system for
automating deployment, scaling, and
management of containerized applications
https://kubernetes.io/
Why containerize
Docker - Build, Ship, and Run Any App, Anywhere
Docker is an open platform for developers and
sysadmins to build, ship, and run distributed
applications, whether on laptops, data center VMs, or
the cloud.
https://www.docker.com/
Kubernetes Cluster
Let’s use Kubernetes
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Pod 1
(App)
We want’s to deploy our app
Kubernetes Cluster
Deploy an app
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Pod 1
(App)
We want our app. We don’t really care where it is.
Kubernetes Cluster
Access an app
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Service (App Endpoint)
Pod 1
(App)
Cluster-wide endpoint by service
Kubernetes Cluster
Scale an app
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Service (App Endpoint)
Pod 1
(App)
Pod 2
(App)
K8s find a Node to run second pod
Kubernetes Cluster
Health check an app
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Service (App Endpoint)
Pod 1
(App)
Pod 2
(App)
Your service still online with zero downtime
Kubernetes Cluster
Self-heal an app
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Service (App Endpoint)
Pod
(App)
Pod 2
(App)
Your service still online with zero downtime
Pod 3
(App)
Kubernetes Cluster
Self-heal an app
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Service (App Endpoint)
Pod 4
(App)
Pod 2
(App)
Your service still online with zero downtime
Keywords
• Clustering, distributed
• Automation deployment
• Auto scaling, Load balancing
• Health check, self-healing, zero downtime
Kubernetes Cluster
Resource Management
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
GPU
GPU
Storage
Job 1
(GPU)
Job 2
(GPU)
One time job. Deploy, execute, save results.
GPU Storage
Kubernetes Cluster
Request Resource
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
GPU Storage
Job 1
(GPU)
Job 2
(GPU)
Share loading between nodes
GPU GPU
Storage
Kubernetes Cluster
Request Resource
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
GPU Storage
Job 1
(GPU)
Job 2
(GPU,
Heavy disk io)
Share loading between nodes
GPU
GPUStorage
Kubernetes Cluster
Schedule Policy
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Storage
Job 1
(GPU)
Job 2
(GPU)
GPU
GPU
Storage
GPU
Node 1 is optimized (high CPU, high disk IO…)
Kubernetes Cluster
Queue
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
GPU Storage
Job 1
(GPU)
Job 2
(GPU)
GPU GPU
Storage
Job 3
(GPU)
Job 4
(GPU)
K8s try to meet resource request
Kubernetes Cluster
Queue
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Storage
Job 1
(GPU)
Job 2
(GPU)
GPU GPU
Storage
Job 3
(GPU)
Job 4
(GPU)
K8s try to meet resource request
GPU
Kubernetes Cluster
Resources
Node 2
10.1.15.2
Node 1
10.1.15.1
Node 3
10.1.15.3
Job 2
(GPU)
GPU
Storage
Job 6
(GPU)
Job 5
GPU
CPU
Memory
CPUCPU
Storage
GPU
Keywords
• Resource request, availability check, auto scheduling
• Schedule policy, affinity, anti-affinity
• Job queue
• Label selector
Data Processing Job
• Tons of data, heavy IO
• GPU/CPU loading
• Storage elasticity
Kubernetes Cluster
Storage
System
Storage
System
GPU
Computing
GPU
Computing
CPU serverCPU server GPU
Servers
CPU servers Storage
System
GPUGPUCPUCPUCPU GPU
Network Storage System Endpoint
Storage
Data Processing Job
Pre-processing
Model-training
Inference
Public Cloud
• Google GKE, AWS EKS, Azure AKS…
• Auto scale servers (node pool)
• High integration with cloud services
• It won’t easily die
• Expensive GPU
Bare metal servers
• Cheap (compare to cloud platform)
• Highly customizable, optimizable
• Embrace many system / networking / infrastructure issues
Thank you
• Automating deployment, scaling, containerize
• Build, deploy, distributed apps, anywhere
• Resource management, job queue, scheduling policy

More Related Content

What's hot (20)

PPTX
Containerizing a REST API and Deploying to Kubernetes
Ashley Roach
 
PDF
The top 5 Kubernetes metrics to monitor
Sysdig
 
PDF
Demystfying container-networking
Balasundaram Natarajan
 
PPTX
Docker and kubernetes_introduction
Jason Hu
 
PDF
Kubernetes Networking - Giragadurai Vallirajan
Neependra Khare
 
PDF
Kubernetes Networking
Giragadurai Vallirajan
 
PPT
Docker Multi Host Networking, Rachit Arora, IBM
Neependra Khare
 
PDF
Orchestrating Microservices with Kubernetes
Weaveworks
 
PDF
Scaling Microservices with Kubernetes
Deivid Hahn Fração
 
PDF
Networking in Kubernetes
Minhan Xia
 
PDF
Kubernetes and bluemix
DuckDuckGo
 
PDF
Kubernetes networking & Security
Vietnam Open Infrastructure User Group
 
PDF
Kubernetes Introduction
Peng Xiao
 
PPTX
Kuryr-Kubernetes: The perfect match for networking cloud native workloads - I...
Cloud Native Day Tel Aviv
 
PPTX
Docker Online Meetup #29: Docker Networking is Now GA
Docker, Inc.
 
PDF
Container Network Interface: Network Plugins for Kubernetes and beyond
KubeAcademy
 
PPTX
Kubernetes 101
Stanislav Pogrebnyak
 
PPTX
Kubernetes Introduction
Martin Danielsson
 
PDF
Kubernetes architecture
Janakiram MSV
 
PDF
Demystifying the Nuts & Bolts of Kubernetes Architecture
Ajeet Singh Raina
 
Containerizing a REST API and Deploying to Kubernetes
Ashley Roach
 
The top 5 Kubernetes metrics to monitor
Sysdig
 
Demystfying container-networking
Balasundaram Natarajan
 
Docker and kubernetes_introduction
Jason Hu
 
Kubernetes Networking - Giragadurai Vallirajan
Neependra Khare
 
Kubernetes Networking
Giragadurai Vallirajan
 
Docker Multi Host Networking, Rachit Arora, IBM
Neependra Khare
 
Orchestrating Microservices with Kubernetes
Weaveworks
 
Scaling Microservices with Kubernetes
Deivid Hahn Fração
 
Networking in Kubernetes
Minhan Xia
 
Kubernetes and bluemix
DuckDuckGo
 
Kubernetes networking & Security
Vietnam Open Infrastructure User Group
 
Kubernetes Introduction
Peng Xiao
 
Kuryr-Kubernetes: The perfect match for networking cloud native workloads - I...
Cloud Native Day Tel Aviv
 
Docker Online Meetup #29: Docker Networking is Now GA
Docker, Inc.
 
Container Network Interface: Network Plugins for Kubernetes and beyond
KubeAcademy
 
Kubernetes 101
Stanislav Pogrebnyak
 
Kubernetes Introduction
Martin Danielsson
 
Kubernetes architecture
Janakiram MSV
 
Demystifying the Nuts & Bolts of Kubernetes Architecture
Ajeet Singh Raina
 

Similar to Automated container-deployment-on-kubernetes (20)

PDF
Using kubernetes to lose your fear of using containers
josfuecas
 
PPTX
K8s in 3h - Kubernetes Fundamentals Training
Piotr Perzyna
 
PDF
Kubernetes Basics - ICP Workshop Batch II
PT Datacomm Diangraha
 
PDF
kubernetes.pdf
crezzcrezz
 
PDF
Kubernetes - introduction
Sparkbit
 
PPTX
Data weekender deploying prod grade sql 2019 big data clusters
Chris Adkin
 
PDF
Kubernetes meetup 101
Jakir Patel
 
PDF
Kubernetes - Starting with 1.2
William Stewart
 
PDF
Slides - Kubernetes on GKE.pdf
WaiYipLiew
 
PPTX
Kubernetes fundamentals
Victor Morales
 
PDF
Zero downtime-java-deployments-with-docker-and-kubernetes
Arjan Schaaf
 
PPTX
Kubernetes Internals
Shimi Bandiel
 
PDF
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
CloudOps2005
 
PPTX
Kubernetes Overview 101.pptxKubernetes Overview 101.pptx
pumipatlalun
 
PDF
Kubernetes Walk Through from Technical View
Lei (Harry) Zhang
 
PDF
Kubernetes 101
Jacopo Nardiello
 
PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
VMUG IT
 
TXT
Introduction about Kubernates Cluster
♛Kumar Aneesh♛
 
PPTX
Kubernetes Introduction
Eric Gustafson
 
PPTX
Introduction to Kubernetes
Paris Apostolopoulos
 
Using kubernetes to lose your fear of using containers
josfuecas
 
K8s in 3h - Kubernetes Fundamentals Training
Piotr Perzyna
 
Kubernetes Basics - ICP Workshop Batch II
PT Datacomm Diangraha
 
kubernetes.pdf
crezzcrezz
 
Kubernetes - introduction
Sparkbit
 
Data weekender deploying prod grade sql 2019 big data clusters
Chris Adkin
 
Kubernetes meetup 101
Jakir Patel
 
Kubernetes - Starting with 1.2
William Stewart
 
Slides - Kubernetes on GKE.pdf
WaiYipLiew
 
Kubernetes fundamentals
Victor Morales
 
Zero downtime-java-deployments-with-docker-and-kubernetes
Arjan Schaaf
 
Kubernetes Internals
Shimi Bandiel
 
Kubernetes on Bare Metal at the Kitchener-Waterloo Kubernetes and Cloud Nativ...
CloudOps2005
 
Kubernetes Overview 101.pptxKubernetes Overview 101.pptx
pumipatlalun
 
Kubernetes Walk Through from Technical View
Lei (Harry) Zhang
 
Kubernetes 101
Jacopo Nardiello
 
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
VMUG IT
 
Introduction about Kubernates Cluster
♛Kumar Aneesh♛
 
Kubernetes Introduction
Eric Gustafson
 
Introduction to Kubernetes
Paris Apostolopoulos
 
Ad

More from Che-Chia Chang (7)

PDF
COSCUP Scouter: Face recognizer retrieves your Github contribution
Che-Chia Chang
 
PPTX
Intro to go web assembly
Che-Chia Chang
 
PDF
Elk for applications on k8s
Che-Chia Chang
 
PDF
Gdg devfest-2018
Che-Chia Chang
 
PDF
CRI, OCI, and CRI-O
Che-Chia Chang
 
PPTX
Deploy High Availability Kubernetes with Kubespray
Che-Chia Chang
 
PDF
K8s storage-glusterfs-20180210
Che-Chia Chang
 
COSCUP Scouter: Face recognizer retrieves your Github contribution
Che-Chia Chang
 
Intro to go web assembly
Che-Chia Chang
 
Elk for applications on k8s
Che-Chia Chang
 
Gdg devfest-2018
Che-Chia Chang
 
CRI, OCI, and CRI-O
Che-Chia Chang
 
Deploy High Availability Kubernetes with Kubespray
Che-Chia Chang
 
K8s storage-glusterfs-20180210
Che-Chia Chang
 
Ad

Recently uploaded (20)

PDF
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PPTX
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
PPTX
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Odoo CRM vs Zoho CRM: Honest Comparison 2025
Odiware Technologies Private Limited
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Agentic Automation Journey Series Day 2 – Prompt Engineering for UiPath Agents
klpathrudu
 
Comprehensive Risk Assessment Module for Smarter Risk Management
EHA Soft Solutions
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 

Automated container-deployment-on-kubernetes

Editor's Notes

  • #4: Share great tools for DevOps, deployment Sounds like a sale I saw tremendous change within my develop team. Hard to maintain but really good when using it There are less ‘how’ in this presentation
  • #5: If your issue fit those key words, try k8s 2014 released by google, open source, maintained by community, lead by google Easy to achieve automation deployment management Containerize
  • #6: Docker released 2013 Containerize: build, ship, run any app, anywhere Widely used by public cloud/services like GCP Uni-interface upon OS -> App like a tree root on your server. Your engineer don’t want to move it.(bind port, bind dir, bind library, bind kernel, bind os distribution) App as replaceable part Easy to build, deploy, scale, monitor, heal, recover
  • #7: Learning by using Distributed system Let’s say we already have a k8s cluster for some reason We want’s to deploy our app / training job / api server / db…
  • #8: User make deploy of an app We want our app. We don’t really care where it is. Kubernetes handle schedule for you.
  • #9: K8s find a node to deploy Can be any suitable node. Then, how to access it? K8s build a cluster-wide endpoint. K8s networking dns
  • #10: User scale up app deployment K8s find a Node to run second pod Pod/container is easy to ship, deploy, scale
  • #11: K8s found out node 3 down for some reason High Availability Auto health check, error discover Your service still online with zero downtime
  • #12: Your service still online with zero downtime K8s find another suitable node for desired app number: which is 2
  • #13: When node became available again (issue fix) K8s automatically bring pods back Your service back to normal
  • #14: Kubernetes is a distributed sys
  • #15: Let’s talk aboutOne time job. Deploy, execute, save results.
  • #16: Node 3 won’t accept GPU Job
  • #17: The request is very dynamic
  • #18: Node 1 is optimized to run GPU Jobs (high CPU, high disk IO, already have data) Node affinity Node selector
  • #19: K8s try to meet resource request
  • #20: K8s try to meet resource request Resource release when job complete Your data scientists should focus on submitting jobs, not waiting
  • #21: Many pre-defined resource Utilize resource for minimum costing Label your node for more specific need like bandwidth, IO, cost
  • #23: It’s all about data Storage is another very long story Access big data chunk from everywhere. You don’t move thousands of GB Backups? Replicas? Model cumulative feedback (reinforcement learning)
  • #24: Scale your cluster (data center) Containerize your training
  • #25: Google’s kubernetes on GCP Registry, network setting, load balancer Global access
  • #26: Cheap GPU Storage system