SlideShare a Scribd company logo
Introduction to Kubernetes
For NUGWC - by Avanti Patil
Agenda
Who am I?
What is a container?
What is docker?
What is kubernetes?
Self paced tutorial
Questions
Contact info
Who am I ?
Avanti Patil
Senior Software Engineer & Team Lead @Wayfair - Search
Platform
Founder and ex-president NUGWC
Technologies I enjoy working with : Java, Kubernetes, Docker,
Search engine (Solr , Elastic Search), Google GCP
Contact details :
Email : patilavanti16@gmail.com
Twitter : @ItsAvanti (I share technical content /memes)
Linkedin : https://www.linkedin.com/in/avantipatil/
Nugwc k8s session-16-march-2021
A container is a standard unit of software
that packages up
1. code
2. all its dependencies
Goal :
1. application runs quickly
2. reliably
3. Independent of computing
environment e.g. (local,
development,prod)
What is Container?
Docker is a container management
service.
The keywords of Docker are develop,
ship and run anywhere.
- easily develop applications
- ship them into containers
- deployed anywhere.
What is Docker?
Kubernetes
Kubernetes is a
Portable
Extensible,
Open-source platform
for managing containerized workloads
and services,
facilitates both declarative configuration
and automation.
● It has a large, rapidly growing
ecosystem.
● Kubernetes services, support, and
tools are widely available.
● The name Kubernetes originates
from Greek, meaning helmsman or
pilot.
● Kubernetes is also called as k8s.
● Allows automated rollouts to create new
containers.
● Allows automated rollbacks and adopt all
their resources to the new containers.
● Self-healing : where k8s restarts
containers that fail and wait till they
become healthy to server new traffic.
● Service discovery and load balancing :
based on your CPU and memory (RAM)
limits for container k8s will can fit
containers onto your nodes to make the
best use of your resources.
Why use Kubernetes? Or k8s?
● Secret management: Kubernetes lets you
store and manage sensitive information,
such as passwords, OAuth tokens, and
SSH keys.
● Configuration management: You can
deploy and update secrets and application
configuration without rebuilding your
container images, and without exposing
secrets in your stack configuration.
● Storage orchestration: Kubernetes allows
you to automatically mount a storage
system of your choice eg. local or cloud
provider.
Kubernetes
Architecture
Master node acts as a primary control pane for kubernetes.
● Kube Scheduler - runs a control loop/ state management for pod scheduling
● Kube API server - a component of the Kubernetes control plane that exposes
the Kubernetes API.
● Controller manager - component that runs controller processes. Like node
controller, job controller etc.
● etcd - Consistent and highly-available key value store used as Kubernetes'
backing store for all cluster data.
Kubernetes Architecture - Master node
Worker nodes are tasked with running workloads (pods) designated by Master
node.
● kubelet - An agent that runs on each node in the cluster. It makes sure that
containers are running in a Pod.
● kube proxy - kube-proxy is a network proxy that runs on each node in your
cluster, implementing part of the Kubernetes Service concept.
● Container runtime - the software that is responsible for running containers.
Kubernetes Architecture - Worker node
What is a pod?
Pods are the smallest deployable units of
computing that you can create and
manage in Kubernetes.
In terms of Docker concepts, a Pod is
similar to a group of Docker containers
with shared namespaces and shared file
system volumes.
Imp k8s command:
Kubectl get pods
A ReplicaSet is one of the Kubernetes controllers
that makes sure we have a specified number of pod
replicas running all the time.
(Remember, a controller in Kubernetes is what takes
care of tasks to make sure the desired state of the
cluster matches the observed state.)
However, a Deployment is a higher-level concept
that manages ReplicaSets and provides declarative
updates to Pods along with a lot of other useful
features.
Therefore, k8s recommends using Deployments
instead of directly using ReplicaSets.
What is a ReplicaSet &
deployment?
Local k8s development options
● minikube:
minikube quickly sets up a local Kubernetes cluster on macOS, Linux, and
Windows. https://minikube.sigs.k8s.io/docs/
● Docker with kubernetes:
Setup a fully functional Kubernetes environment on your desktop with a single
click and start developing and testing modern applications in minutes.
https://www.docker.com/blog/docker-windows-desktop-now-kubernetes/
Self Paced Tutorial
https://www.katacoda.com/courses/kubernetes/kubectl-run-containers
Kubernetes Questions
● How kubernetes works and automates deployment link
● Why is kubernetes useful - slide#8
● What are the recent security issues with kubernetes - link
● I want to learn about Kubernetes - link
● Just a general outlook of its purpose in projects and extensibility. link
● What web hosting problems does it solve?
● How does search systems work using K8s? link
● How does Kubernetes support auto scaling? link
Questions for Avanti
● What a person needs to know apart industry prospective apart from the content in this
workshop
● What are the basics of kubernetes which a security student needs to know link
● How do we start learning Kubernetes? Link.
● Is there any place to try hands on for kubernetes (demo)? use katakoda
● Full time opportunities at Wayfair - mostly senior roles link
● What is the future if cloud and Kubernotes technology professional?
● what other places are K8s used in Wayfair?
● What advice would you give to women who aspire to be in a leadership role?
● What KPIs do you use to measure your impact on the team and it’s strategy?
thank you
Avanti Patil
Contact details :
Email : patilavanti16@gmail.com
Twitter : @ItsAvanti (I share technical content/memes)
Linkedin : https://www.linkedin.com/in/avantipatil/

More Related Content

PDF
Introduction of Kubernetes - Trang Nguyen
PDF
Kubernetes - how to orchestrate containers
PPTX
Brief Introduction To Kubernetes
PDF
Meteor South Bay Meetup - Kubernetes & Google Container Engine
PDF
DevJam 2019 - Introduction to Kubernetes
PPTX
Kubernetes for Beginners: An Introductory Guide
PDF
Deploying your first application with Kubernetes
PDF
Kubernetes a comprehensive overview
Introduction of Kubernetes - Trang Nguyen
Kubernetes - how to orchestrate containers
Brief Introduction To Kubernetes
Meteor South Bay Meetup - Kubernetes & Google Container Engine
DevJam 2019 - Introduction to Kubernetes
Kubernetes for Beginners: An Introductory Guide
Deploying your first application with Kubernetes
Kubernetes a comprehensive overview

What's hot (20)

PPTX
Service Discovery In Kubernetes
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
PPTX
Introduction to Kubernetes
PDF
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
PDF
Kubernetes - A Comprehensive Overview
PDF
Apache Stratos 4.1.0 Architecture
PPTX
K8s in 3h - Kubernetes Fundamentals Training
PDF
Evolution of containers to kubernetes
PDF
(Draft) Kubernetes - A Comprehensive Overview
PDF
Kubernetes in Docker
PDF
Kubernetes in Docker
PPTX
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
PPTX
Abc of docker
ODP
Kubernetes Architecture
PDF
The (mutable) config management showdown
PPTX
Kubernetes Immersion
PDF
What is Kubernets
PDF
Kubernetes Requests and Limits
PDF
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
PDF
Quick introduction to Kubernetes
Service Discovery In Kubernetes
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Introduction to Kubernetes
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Kubernetes - A Comprehensive Overview
Apache Stratos 4.1.0 Architecture
K8s in 3h - Kubernetes Fundamentals Training
Evolution of containers to kubernetes
(Draft) Kubernetes - A Comprehensive Overview
Kubernetes in Docker
Kubernetes in Docker
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
Abc of docker
Kubernetes Architecture
The (mutable) config management showdown
Kubernetes Immersion
What is Kubernets
Kubernetes Requests and Limits
Revolutionizing WSO2 PaaS with Kubernetes & App Factory
Quick introduction to Kubernetes
Ad

Similar to Nugwc k8s session-16-march-2021 (20)

PDF
Best online kubernetes course in H2KInfosys.pdf
PDF
Google Cloud Platform Kubernetes Workshop IYTE
PPTX
Kubernetes_101_Zero_to_Platform_Engineer.pptx
PDF
The path to a serverless-native era with Kubernetes
PDF
Kubernetes: https://youtu.be/KnjnQj-FvfQ
PPTX
Kubernetes: від знайомства до використання у CI/CD
PPTX
GCCP JSCOE Session 2
PPTX
Kubernetes: A Top Notch Automation Solution
PPTX
KubernetesPPT.pptx
PDF
Scalable Spark deployment using Kubernetes
PDF
6 Steps Functionality Hacks To Kubernetes - 2023 Update.pdf
PPTX
Docker and Kubernetes Training | Kubernetes Online Training
PDF
Modern big data and machine learning in the era of cloud, docker and kubernetes
PPTX
Docker and kubernetes
PPTX
Kubernetes 101
PDF
DCSF19 How Docker Simplifies Kubernetes for the Masses
PDF
My kubernetes toolkit
PDF
Mastering Docker and Kubernetes The Guide for Modern Devops.pdf
PPTX
Introduction to Kubernetes
PDF
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
Best online kubernetes course in H2KInfosys.pdf
Google Cloud Platform Kubernetes Workshop IYTE
Kubernetes_101_Zero_to_Platform_Engineer.pptx
The path to a serverless-native era with Kubernetes
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Kubernetes: від знайомства до використання у CI/CD
GCCP JSCOE Session 2
Kubernetes: A Top Notch Automation Solution
KubernetesPPT.pptx
Scalable Spark deployment using Kubernetes
6 Steps Functionality Hacks To Kubernetes - 2023 Update.pdf
Docker and Kubernetes Training | Kubernetes Online Training
Modern big data and machine learning in the era of cloud, docker and kubernetes
Docker and kubernetes
Kubernetes 101
DCSF19 How Docker Simplifies Kubernetes for the Masses
My kubernetes toolkit
Mastering Docker and Kubernetes The Guide for Modern Devops.pdf
Introduction to Kubernetes
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
Ad

Recently uploaded (20)

PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
DOCX
573137875-Attendance-Management-System-original
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPT
Project quality management in manufacturing
PPTX
Artificial Intelligence
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Sustainable Sites - Green Building Construction
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
737-MAX_SRG.pdf student reference guides
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
Categorization of Factors Affecting Classification Algorithms Selection
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Fundamentals of safety and accident prevention -final (1).pptx
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
573137875-Attendance-Management-System-original
Foundation to blockchain - A guide to Blockchain Tech
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
R24 SURVEYING LAB MANUAL for civil enggi
Project quality management in manufacturing
Artificial Intelligence
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
III.4.1.2_The_Space_Environment.p pdffdf
Sustainable Sites - Green Building Construction
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
737-MAX_SRG.pdf student reference guides
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Categorization of Factors Affecting Classification Algorithms Selection
UNIT-1 - COAL BASED THERMAL POWER PLANTS
CYBER-CRIMES AND SECURITY A guide to understanding
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks

Nugwc k8s session-16-march-2021

  • 1. Introduction to Kubernetes For NUGWC - by Avanti Patil
  • 2. Agenda Who am I? What is a container? What is docker? What is kubernetes? Self paced tutorial Questions Contact info
  • 3. Who am I ? Avanti Patil Senior Software Engineer & Team Lead @Wayfair - Search Platform Founder and ex-president NUGWC Technologies I enjoy working with : Java, Kubernetes, Docker, Search engine (Solr , Elastic Search), Google GCP Contact details : Email : [email protected] Twitter : @ItsAvanti (I share technical content /memes) Linkedin : https://www.linkedin.com/in/avantipatil/
  • 5. A container is a standard unit of software that packages up 1. code 2. all its dependencies Goal : 1. application runs quickly 2. reliably 3. Independent of computing environment e.g. (local, development,prod) What is Container?
  • 6. Docker is a container management service. The keywords of Docker are develop, ship and run anywhere. - easily develop applications - ship them into containers - deployed anywhere. What is Docker?
  • 7. Kubernetes Kubernetes is a Portable Extensible, Open-source platform for managing containerized workloads and services, facilitates both declarative configuration and automation. ● It has a large, rapidly growing ecosystem. ● Kubernetes services, support, and tools are widely available. ● The name Kubernetes originates from Greek, meaning helmsman or pilot. ● Kubernetes is also called as k8s.
  • 8. ● Allows automated rollouts to create new containers. ● Allows automated rollbacks and adopt all their resources to the new containers. ● Self-healing : where k8s restarts containers that fail and wait till they become healthy to server new traffic. ● Service discovery and load balancing : based on your CPU and memory (RAM) limits for container k8s will can fit containers onto your nodes to make the best use of your resources. Why use Kubernetes? Or k8s? ● Secret management: Kubernetes lets you store and manage sensitive information, such as passwords, OAuth tokens, and SSH keys. ● Configuration management: You can deploy and update secrets and application configuration without rebuilding your container images, and without exposing secrets in your stack configuration. ● Storage orchestration: Kubernetes allows you to automatically mount a storage system of your choice eg. local or cloud provider.
  • 10. Master node acts as a primary control pane for kubernetes. ● Kube Scheduler - runs a control loop/ state management for pod scheduling ● Kube API server - a component of the Kubernetes control plane that exposes the Kubernetes API. ● Controller manager - component that runs controller processes. Like node controller, job controller etc. ● etcd - Consistent and highly-available key value store used as Kubernetes' backing store for all cluster data. Kubernetes Architecture - Master node
  • 11. Worker nodes are tasked with running workloads (pods) designated by Master node. ● kubelet - An agent that runs on each node in the cluster. It makes sure that containers are running in a Pod. ● kube proxy - kube-proxy is a network proxy that runs on each node in your cluster, implementing part of the Kubernetes Service concept. ● Container runtime - the software that is responsible for running containers. Kubernetes Architecture - Worker node
  • 12. What is a pod? Pods are the smallest deployable units of computing that you can create and manage in Kubernetes. In terms of Docker concepts, a Pod is similar to a group of Docker containers with shared namespaces and shared file system volumes. Imp k8s command: Kubectl get pods A ReplicaSet is one of the Kubernetes controllers that makes sure we have a specified number of pod replicas running all the time. (Remember, a controller in Kubernetes is what takes care of tasks to make sure the desired state of the cluster matches the observed state.) However, a Deployment is a higher-level concept that manages ReplicaSets and provides declarative updates to Pods along with a lot of other useful features. Therefore, k8s recommends using Deployments instead of directly using ReplicaSets. What is a ReplicaSet & deployment?
  • 13. Local k8s development options ● minikube: minikube quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows. https://minikube.sigs.k8s.io/docs/ ● Docker with kubernetes: Setup a fully functional Kubernetes environment on your desktop with a single click and start developing and testing modern applications in minutes. https://www.docker.com/blog/docker-windows-desktop-now-kubernetes/
  • 15. Kubernetes Questions ● How kubernetes works and automates deployment link ● Why is kubernetes useful - slide#8 ● What are the recent security issues with kubernetes - link ● I want to learn about Kubernetes - link ● Just a general outlook of its purpose in projects and extensibility. link ● What web hosting problems does it solve? ● How does search systems work using K8s? link ● How does Kubernetes support auto scaling? link
  • 16. Questions for Avanti ● What a person needs to know apart industry prospective apart from the content in this workshop ● What are the basics of kubernetes which a security student needs to know link ● How do we start learning Kubernetes? Link. ● Is there any place to try hands on for kubernetes (demo)? use katakoda ● Full time opportunities at Wayfair - mostly senior roles link ● What is the future if cloud and Kubernotes technology professional? ● what other places are K8s used in Wayfair? ● What advice would you give to women who aspire to be in a leadership role? ● What KPIs do you use to measure your impact on the team and it’s strategy?
  • 17. thank you Avanti Patil Contact details : Email : [email protected] Twitter : @ItsAvanti (I share technical content/memes) Linkedin : https://www.linkedin.com/in/avantipatil/