SlideShare a Scribd company logo
10
Most read
12
Most read
15
Most read
By Vikram Sharma
Agenda
● Linux Containers
● Docker
● Kubernetes
● Kubernetes Architecture
● Kubernetes Demo
What is a container?
-Application and process delivery mechanism
-Stateless with all included dependencies
-Fast start, hyper dense, and portable
Introducing Kubernetes
Linux Containers
• An operating
system–level
virtualization
method for running
multiple isolated
Linux systems
(containers) on a
single control host.
Linux Containers drawbacks:
• https://lwn.net/Articles/588309/
•Problem 1: effective virtualization.
•Problem 2: sharing resources among containers.
•Problem 3: making resource limits easy to understand.
•Problem 4: live migration.
•Problem 5: upstreaming.
•Problem 6: a common file system.
•Problem 7: inefficient storage.
Introducing Kubernetes
Docker
● A platform for managing Linux Containers
● Began as an open-source implementation of the
deployment engine which powers Cloud
● Started in March 2013
● Provided an easy-to-use API and powerful container image
management features
● Attracted the community very fast
Problems with standalone
Docker
● Running a server cluster
on a set of Docker
containers, on a single
Docker host is vulnerable to
single point of failure!
Introducing
Kubernetes:
 Kubernetes is amature open-source platform for hosting
Docker containers in a clustered environment with multiple
Docker hosts.
 Provides container grouping, load balancing, auto-healing,
scaling features.
 Based on learning from internal Google projects.
 Contributors == Google, CodeOS, Redhat, Mesosphere,
Microsoft, HP, IBM, VMWare, Pivotal etc.
 Extensible / flexible API architecture.
Key Concepts of Kubernetes:
 Pod - A group of Containers
 Labels - Labels for identifying pods
 Kubelet - Container Agent
 Proxy - A load balancer for Pods
 etcd - A metadata service
 cAdvisor - Container Advisor provides resource
usage/performance statistics
 Replication Controller - Manages replication of
pods
 Scheduler - Schedules pods in worker nodes
 API Server - Kubernetes API server
Pods:
The primary primitive for running containerized workload.
-Unit of scheduling / resource envelope
-May contain one or more containers
-Containers share network, volumes, isolation components
Pods Cont.
What does a pod look like?
Kubernetes Architecture:
Kubernetes Services
Kubernetes object expressing pod networking endpoint
(internal / external IP address).
-Service is associate with pod through label selector
-ClusterIP–exposed on cluster-internal IP
-NodePort–exposed on nodes IP .via static port
-LoadBalancer–exposed externally on providers NLB
-ExternalName–map service to DNS name
Kubernetes Manifest
YAML file to declare desired state of Kubernetes
object types.
-Define Kubernetes type
-Define type specification
-Labels / Annotations
-Metadata
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
labels:
app: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
Kubernetes demo:
Kubernetes object expressing pod networking endpoint
(internal / external IP address).
-Service is associate with pod through label selector
-ClusterIP–exposed on cluster-internal IP
-NodePort–exposed on nodes IP .via static port
-LoadBalancer–exposed externally on providers NLB
-ExternalName–map service to DNS name
References:
 https://kubernetes.io/docs/home/
 https://confluence.wdc.com/x/g05RHw
 https://confluence.wdc.com/x/qZ_DIQ
 Others…
Introducing Kubernetes
Introducing Kubernetes

More Related Content

What's hot (20)

PDF
Mobius: C# Language Binding For Spark
Spark Summit
 
PPTX
Container orchestration overview
Wyn B. Van Devanter
 
PDF
The Operator Pattern - Managing Stateful Services in Kubernetes
QAware GmbH
 
PPTX
Kubernetes @ meetic
Sébastien Le Gall
 
PDF
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Roberto Hashioka
 
PDF
Securing the Message Bus with Kafka Streams | Paul Otto and Ryan Salcido, Raf...
HostedbyConfluent
 
PDF
Spark on Kubernetes
datamantra
 
PDF
HDFS on Kubernetes—Lessons Learned with Kimoon Kim
Databricks
 
PPTX
Kafka On YARN (KOYA): An Open Source Initiative to integrate Kafka & YARN
DataWorks Summit
 
PDF
(Draft) Kubernetes - A Comprehensive Overview
Bob Killen
 
PDF
Apache Pulsar at Yahoo! Japan
StreamNative
 
PDF
What's new in Kubernetes
Daniel Smith
 
PDF
A Journey through the JDKs (Java 9 to Java 11)
Markus Günther
 
PDF
Kafka for Microservices – You absolutely need Avro Schemas! | Gerardo Gutierr...
HostedbyConfluent
 
PPTX
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OS
Lightbend
 
PPT
Exploring Openstack Swift(Object Storage) and Swiftstack
Ramit Surana
 
PDF
Kafka and Spark Streaming
datamantra
 
PDF
Introducing HerdDB - a distributed JVM embeddable database built upon Apache ...
StreamNative
 
PDF
Secrets in Kubernetes
Jerry Jalava
 
PPTX
Stateful set in kubernetes implementation & usecases
Krishna-Kumar
 
Mobius: C# Language Binding For Spark
Spark Summit
 
Container orchestration overview
Wyn B. Van Devanter
 
The Operator Pattern - Managing Stateful Services in Kubernetes
QAware GmbH
 
Kubernetes @ meetic
Sébastien Le Gall
 
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Roberto Hashioka
 
Securing the Message Bus with Kafka Streams | Paul Otto and Ryan Salcido, Raf...
HostedbyConfluent
 
Spark on Kubernetes
datamantra
 
HDFS on Kubernetes—Lessons Learned with Kimoon Kim
Databricks
 
Kafka On YARN (KOYA): An Open Source Initiative to integrate Kafka & YARN
DataWorks Summit
 
(Draft) Kubernetes - A Comprehensive Overview
Bob Killen
 
Apache Pulsar at Yahoo! Japan
StreamNative
 
What's new in Kubernetes
Daniel Smith
 
A Journey through the JDKs (Java 9 to Java 11)
Markus Günther
 
Kafka for Microservices – You absolutely need Avro Schemas! | Gerardo Gutierr...
HostedbyConfluent
 
Putting Kafka In Jail – Best Practices To Run Kafka On Kubernetes & DC/OS
Lightbend
 
Exploring Openstack Swift(Object Storage) and Swiftstack
Ramit Surana
 
Kafka and Spark Streaming
datamantra
 
Introducing HerdDB - a distributed JVM embeddable database built upon Apache ...
StreamNative
 
Secrets in Kubernetes
Jerry Jalava
 
Stateful set in kubernetes implementation & usecases
Krishna-Kumar
 

Similar to Introducing Kubernetes (20)

PDF
Kubernetes-Meetup
Vaibhav Kohli
 
PPTX
Kubernetes: від знайомства до використання у CI/CD
Stfalcon Meetups
 
PDF
DevJam 2019 - Introduction to Kubernetes
Ronny Trommer
 
PPTX
Kubernetes-Presentation-Syed-Murtaza-Hassan
Syed Murtaza Hassan
 
PPTX
Kubernetes Overview 101.pptxKubernetes Overview 101.pptx
pumipatlalun
 
PPTX
Container Orchestration using kubernetes
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
PPTX
Kubernetes overview 101
Boskey Savla
 
PPTX
Containers and Kubernetes -Notes Leo
Léopold Gault
 
PPTX
KubernetSADASDASDASDSADASDASDASDASDes.pptx
MuhamedAhmed35
 
PPTX
Kubernetes Immersion
Juan Larriba
 
PDF
Introduction to Kubernetes Workshop
Bob Killen
 
PPTX
Docker and kubernetes
Meiyappan Kannappa
 
PPTX
Kubernetes #1 intro
Terry Cho
 
PPTX
Kubernetes fundamentals
Victor Morales
 
PDF
Quick introduction to Kubernetes
Eduardo Garcia Moyano
 
PDF
Kubernetes
erialc_w
 
PDF
Kubernetes overview and Exploitation
OWASPSeasides
 
PPTX
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
MongoDB
 
PPTX
Docker and kubernetes_introduction
Jason Hu
 
PDF
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Bitnami
 
Kubernetes-Meetup
Vaibhav Kohli
 
Kubernetes: від знайомства до використання у CI/CD
Stfalcon Meetups
 
DevJam 2019 - Introduction to Kubernetes
Ronny Trommer
 
Kubernetes-Presentation-Syed-Murtaza-Hassan
Syed Murtaza Hassan
 
Kubernetes Overview 101.pptxKubernetes Overview 101.pptx
pumipatlalun
 
Container Orchestration using kubernetes
Puneet Kumar Bhatia (MBA, ITIL V3 Certified)
 
Kubernetes overview 101
Boskey Savla
 
Containers and Kubernetes -Notes Leo
Léopold Gault
 
KubernetSADASDASDASDSADASDASDASDASDes.pptx
MuhamedAhmed35
 
Kubernetes Immersion
Juan Larriba
 
Introduction to Kubernetes Workshop
Bob Killen
 
Docker and kubernetes
Meiyappan Kannappa
 
Kubernetes #1 intro
Terry Cho
 
Kubernetes fundamentals
Victor Morales
 
Quick introduction to Kubernetes
Eduardo Garcia Moyano
 
Kubernetes
erialc_w
 
Kubernetes overview and Exploitation
OWASPSeasides
 
Webinar: Enabling Microservices with Containers, Orchestration, and MongoDB
MongoDB
 
Docker and kubernetes_introduction
Jason Hu
 
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Bitnami
 
Ad

Recently uploaded (20)

PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PPTX
grade 5 lesson ENGLISH 5_Q1_PPT_WEEK3.pptx
SireQuinn
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPSX
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
PPTX
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
grade 5 lesson ENGLISH 5_Q1_PPT_WEEK3.pptx
SireQuinn
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
Dimensions of Societal Planning in Commonism
StefanMz
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
Health Planning in india - Unit 03 - CHN 2 - GNM 3RD YEAR.ppsx
Priyanshu Anand
 
Quarter1-English3-W4-Identifying Elements of the Story
FLORRACHELSANTOS
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
community health nursing question paper 2.pdf
Prince kumar
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
Ad

Introducing Kubernetes

  • 2. Agenda ● Linux Containers ● Docker ● Kubernetes ● Kubernetes Architecture ● Kubernetes Demo
  • 3. What is a container? -Application and process delivery mechanism -Stateless with all included dependencies -Fast start, hyper dense, and portable
  • 5. Linux Containers • An operating system–level virtualization method for running multiple isolated Linux systems (containers) on a single control host.
  • 6. Linux Containers drawbacks: • https://lwn.net/Articles/588309/ •Problem 1: effective virtualization. •Problem 2: sharing resources among containers. •Problem 3: making resource limits easy to understand. •Problem 4: live migration. •Problem 5: upstreaming. •Problem 6: a common file system. •Problem 7: inefficient storage.
  • 8. Docker ● A platform for managing Linux Containers ● Began as an open-source implementation of the deployment engine which powers Cloud ● Started in March 2013 ● Provided an easy-to-use API and powerful container image management features ● Attracted the community very fast
  • 9. Problems with standalone Docker ● Running a server cluster on a set of Docker containers, on a single Docker host is vulnerable to single point of failure!
  • 11. Kubernetes:  Kubernetes is amature open-source platform for hosting Docker containers in a clustered environment with multiple Docker hosts.  Provides container grouping, load balancing, auto-healing, scaling features.  Based on learning from internal Google projects.  Contributors == Google, CodeOS, Redhat, Mesosphere, Microsoft, HP, IBM, VMWare, Pivotal etc.  Extensible / flexible API architecture.
  • 12. Key Concepts of Kubernetes:  Pod - A group of Containers  Labels - Labels for identifying pods  Kubelet - Container Agent  Proxy - A load balancer for Pods  etcd - A metadata service  cAdvisor - Container Advisor provides resource usage/performance statistics  Replication Controller - Manages replication of pods  Scheduler - Schedules pods in worker nodes  API Server - Kubernetes API server
  • 13. Pods: The primary primitive for running containerized workload. -Unit of scheduling / resource envelope -May contain one or more containers -Containers share network, volumes, isolation components
  • 14. Pods Cont. What does a pod look like?
  • 16. Kubernetes Services Kubernetes object expressing pod networking endpoint (internal / external IP address). -Service is associate with pod through label selector -ClusterIP–exposed on cluster-internal IP -NodePort–exposed on nodes IP .via static port -LoadBalancer–exposed externally on providers NLB -ExternalName–map service to DNS name
  • 17. Kubernetes Manifest YAML file to declare desired state of Kubernetes object types. -Define Kubernetes type -Define type specification -Labels / Annotations -Metadata apiVersion: apps/v1 kind: Deployment metadata: name: nginx-deployment labels: app: nginx spec: replicas: 3 selector: matchLabels: app: nginx template: metadata: labels: app: nginx spec: containers: - name: nginx image: nginx:1.14.2 ports: - containerPort: 80
  • 18. Kubernetes demo: Kubernetes object expressing pod networking endpoint (internal / external IP address). -Service is associate with pod through label selector -ClusterIP–exposed on cluster-internal IP -NodePort–exposed on nodes IP .via static port -LoadBalancer–exposed externally on providers NLB -ExternalName–map service to DNS name