@walidshaari
walid.shaari@gmail.com
https://www.linkedin.com/in/walidshaari/
Containers
DOCKER HISTORY
▪ Started as internal project @ dotcloud
▪ Open Sourced in 2013
▪ Developed in the open
▪ Quiz: Pay Attention to commands
Solomon Hykes run
http://www.taos.com/from-dotcloud-to-docker/
Docker exercise I
Run your first container using two container runtimes http://bit.ly/pydata01
- docker
- podman
Objective
- Learn and Be Curious
- Core containers operations from Solomon Hykes lighting talk
- run - images
- history - search ??
https://www.docker.com/blog/introducing-the-docker-index/
Pydata  2020 containers meetup
Pydata  2020 containers meetup
Why use containers?
Docker exercise II
Build your first container http://bit.ly/pydata02
Objective
- How to containerize if you can not find what you want available?
- Prototyping a coding project
- Customizing
- What else?
1- git clone https://github.com/jakewright/tutorials
Pydata  2020 containers meetup
6- cd product
7- docker build -t product-service .
8- docker run -p 5001:80 --rm -d product-service
9- docker ps
10- curl localhost:5001
11- docker images
build, tag, push, pull,
build, tag, ....
Cache .. tag:latest
Push… Pull
• Standardized packaging for
software and dependencies
• Isolate apps from each other
• Share the same OS kernel
• Works for all major Linux
distributions
• Containers are mostly Linux,
however there is native Windows
containers too.
Recap: What are Docker
containers?
Containers are an app
level construct
VMs are an infrastructure level
construct to turn one machine
into many servers
Comparing VMs and Containers
Infrastructure
Libs
App A App B
App C App D
Traditional Bare
Metal servers
Containers and VMs together
Containers and VMs together provide a tremendous amount of
flexibility for IT to optimally deploy and manage apps.
Pydata  2020 containers meetup
Thank the giants
What are containers?
Containers are processes
born from tarballs
anchored to namespaces
controlled by cgroups
Alice Goldfuss - The Container Operator’s Manual
Docker Compose
https://azure.microsoft.com/en-us/resources/kubernetes-learning-path/
Project
Overview
What Does “Kubernetes” Mean?
Greek for “pilot” or
“Helmsman of a ship”
Image Source
What is Kubernetes?
● Project that was spun out of Google as an open source
container orchestration platform.
● Built from the lessons learned in the experiences of
developing and running Google’s Borg and Omega.
● Designed from the ground-up as a loosely coupled
collection of components centered around deploying,
maintaining and scaling workloads.
25
What Does Kubernetes do?
● Known as the linux kernel of distributed systems.
● Abstracts away the underlying hardware of the
nodes and provides a uniform interface for workloads to
be both deployed and consume the shared pool of
resources.
● Works as an engine for resolving state by converging
actual and the desired state of the system.
Pydata  2020 containers meetup
Decouples Infrastructure and Scaling
● All services within Kubernetes are natively
Load Balanced.
● Can scale up and down dynamically.
● Used both to enable self-healing and
seamless upgrading or rollback of
applications.
Self Healing
Kubernetes will ALWAYS try and steer the cluster to its
desired state.
● Me: “I want 3 healthy instances of redis to always be
running.”
● Kubernetes: “Okay, I’ll ensure there are always 3
instances up and running.”
● Kubernetes: “Oh look, one has died. I’m going to
attempt to spin up a new one.”
What can Kubernetes REALLY do?
● Autoscale Workloads
● Blue/Green Deployments
● Fire off jobs and scheduled cronjobs
● Manage Stateless and Stateful Applications
● Provide native methods of service discovery
● Easily integrate and support 3rd party apps
Most Importantly...
Use the SAME API
across bare metal and
EVERY cloud provider!!!
Who “Manages” Kubernetes?
The CNCF is a child entity of the Linux Foundation and
operates as a vendor neutral governance group.
Project Stats
● Over 55,000 stars on Github
● 2000+ Contributors to K8s Core
● Most discussed Repository by a large
margin
● 70,000+ users in Slack Team
07/2019
Project Stats
A Couple
Key Concepts...
Pods
● Atomic unit or smallest
“unit of work”of Kubernetes.
● Pods are one or MORE
containers that share
volumes, a network
namespace, and are a part
of a single context.
Pods
They are
also
Ephemeral!
Services
● Unified method of accessing
the exposed workloads of Pods.
● Durable resource
○ static cluster IP
○ static namespaced
DNS name
Services
● Unified method of accessing
the exposed workloads of Pods.
● Durable resource
○ static cluster IP
○ static namespaced
DNS name
NOT Ephemeral!
Architecture
Overview
Pydata  2020 containers meetup
Kubernetes’ High-Level Architecture Overview
Source: https://www.weave.works/blog/what-does-production-ready-really-mean-for-a-kubernetes-cluster
Kubernetes’ High-Level Architecture Overview
Portability through Abstraction
Application dependency on Kubernetes primitives
Source: Kubernetes effect by Bilgin Ibryam
Kubernetes Architecture 101
Source: https://www.aquasec.com/wiki/display/containers/Kubernetes+Architecture+101
Create a two worker
node kind k8s cluster
kind create cluster --name pydate --config .kind.yaml
Deployment, ReplicaSet,
Pod, and Service
kind create cluster --name pydate --config .kind.yaml
http://bit.ly/pydata-wildwest
https://training.play-with-kubernetes.com/
Application dependency on Kubernetes primitives
Source: Kubernetes effect by Bilgin Ibryam
50
Thank you

More Related Content

PDF
OPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
PDF
Intro to Kubernetes SIG Contributor Experience
PDF
Intro to the CNCF Research User Group
PDF
Gitlab ci e kubernetes, build test and deploy your projects like a pro
PPTX
Openshift/Kubernetes integration with Apache YARN
PDF
CI/CD Pipeline mit Gitlab CI und Kubernetes
PDF
[D2 COMMUNITY] Open Container Seoul Meetup - Kubernetes를 이용한 서비스 구축과 openshift
PDF
CI/CD with Openshift and Jenkins
OPENSHIFT CONTAINER PLATFORM CI/CD Build & Deploy
Intro to Kubernetes SIG Contributor Experience
Intro to the CNCF Research User Group
Gitlab ci e kubernetes, build test and deploy your projects like a pro
Openshift/Kubernetes integration with Apache YARN
CI/CD Pipeline mit Gitlab CI und Kubernetes
[D2 COMMUNITY] Open Container Seoul Meetup - Kubernetes를 이용한 서비스 구축과 openshift
CI/CD with Openshift and Jenkins

What's hot (20)

PDF
Continuous Deployment with Kubernetes, Docker and GitLab CI
PDF
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
PDF
Openshift: The power of kubernetes for engineers - Riga Dev Days 18
PPTX
OpenShift Application Development | DO288 | Red Hat OpenShift
PDF
Kubernetes: The Next Research Platform
PDF
The path to a serverless-native era with Kubernetes
PDF
A Peek Behind the Curtain: Managing the Kubernetes Contributor Community
PDF
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
PDF
An overview of the Kubernetes architecture
PDF
Red Hat Forum Benelux 2015
PPTX
DEVNET-1183 OpenShift + Kubernetes + Docker
PPTX
Open shift enterprise 3.1 paas on kubernetes
PPTX
Kubernetes and OpenStack at Scale
PPTX
DevFestMN 2017 - Learning Docker and Kubernetes with Openshift
PDF
Introduction to GitHub Actions - How to easily automate and integrate with Gi...
PDF
Introduction to Kubernetes
PDF
Quarkus: From developer joy to Kubernetes nirvana! | DevNation Tech Talk
PDF
CNCF Projects Overview
ODP
Openshift: Build, deploy & manage open, standard containers
PDF
Kubernetes The New Research Platform
Continuous Deployment with Kubernetes, Docker and GitLab CI
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Openshift: The power of kubernetes for engineers - Riga Dev Days 18
OpenShift Application Development | DO288 | Red Hat OpenShift
Kubernetes: The Next Research Platform
The path to a serverless-native era with Kubernetes
A Peek Behind the Curtain: Managing the Kubernetes Contributor Community
Puzzle ITC Talk @Docker CH meetup CI CD_with_Openshift_0.2
An overview of the Kubernetes architecture
Red Hat Forum Benelux 2015
DEVNET-1183 OpenShift + Kubernetes + Docker
Open shift enterprise 3.1 paas on kubernetes
Kubernetes and OpenStack at Scale
DevFestMN 2017 - Learning Docker and Kubernetes with Openshift
Introduction to GitHub Actions - How to easily automate and integrate with Gi...
Introduction to Kubernetes
Quarkus: From developer joy to Kubernetes nirvana! | DevNation Tech Talk
CNCF Projects Overview
Openshift: Build, deploy & manage open, standard containers
Kubernetes The New Research Platform
Ad

Similar to Pydata 2020 containers meetup (20)

PPTX
Intro to kubernetes
PDF
A curtain-raiser to the container world Docker & Kubernetes
PDF
DEVOPS UNIT 4 docker and services commands
PPTX
Docker and kubernetes
PPTX
Kubernetes the deltatre way the basics - introduction to containers and orc...
PPTX
Docker Kubernetes Istio
PDF
Accelerate your software development with Docker
PPTX
Accelerate your development with Docker
PPTX
Kubernetes: від знайомства до використання у CI/CD
PPTX
Docker and kubernetes
PDF
Docker and-containers-for-development-and-deployment-scale12x
PDF
Containers - Portable, repeatable user-oriented application delivery. Build, ...
PDF
Docker 0.11 at MaxCDN meetup in Los Angeles
PPTX
Kube 101
PPTX
A Primer on Kubernetes and Google Container Engine
PDF
Introduction to Containers
PDF
Agile Brown Bag - Vagrant & Docker: Introduction
PDF
Introduction to Docker and Linux Containers @ Cloud Computing Rhein Main
PPTX
Docker - Ankara JUG, Nisan 2015
PDF
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Intro to kubernetes
A curtain-raiser to the container world Docker & Kubernetes
DEVOPS UNIT 4 docker and services commands
Docker and kubernetes
Kubernetes the deltatre way the basics - introduction to containers and orc...
Docker Kubernetes Istio
Accelerate your software development with Docker
Accelerate your development with Docker
Kubernetes: від знайомства до використання у CI/CD
Docker and kubernetes
Docker and-containers-for-development-and-deployment-scale12x
Containers - Portable, repeatable user-oriented application delivery. Build, ...
Docker 0.11 at MaxCDN meetup in Los Angeles
Kube 101
A Primer on Kubernetes and Google Container Engine
Introduction to Containers
Agile Brown Bag - Vagrant & Docker: Introduction
Introduction to Docker and Linux Containers @ Cloud Computing Rhein Main
Docker - Ankara JUG, Nisan 2015
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Ad

More from Walid Shaari (15)

PDF
Towards-cloud-native-HPC.pdf
PDF
Aws ug dxb 2021 container series iv
PDF
Open hybrid cloud
PDF
Okd wg kubecon marathon azure & vsphere
PDF
K8s architecture meetup2- k8saraby
PPTX
Dammam aws user group meetup
PPTX
Bahrain ch9 introduction to docker 5th birthday
PDF
IAU workshop 2018 day one
PDF
Network Automation Journey, A systems engineer NetOps perspective
PDF
Kick starting Network Automation
PDF
Docker Dhahran November 2017 meetup
PDF
Containers - Portable, repeatable user-oriented application delivery. Build, ...
PDF
Docker Dhahran Nov 2016 meetup
PDF
What HPC can learn from DevOps?
PDF
Docker 101 @KACST Saudi HPC 2016
Towards-cloud-native-HPC.pdf
Aws ug dxb 2021 container series iv
Open hybrid cloud
Okd wg kubecon marathon azure & vsphere
K8s architecture meetup2- k8saraby
Dammam aws user group meetup
Bahrain ch9 introduction to docker 5th birthday
IAU workshop 2018 day one
Network Automation Journey, A systems engineer NetOps perspective
Kick starting Network Automation
Docker Dhahran November 2017 meetup
Containers - Portable, repeatable user-oriented application delivery. Build, ...
Docker Dhahran Nov 2016 meetup
What HPC can learn from DevOps?
Docker 101 @KACST Saudi HPC 2016

Recently uploaded (20)

PPTX
WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx
PPTX
IoT Lecture IoT Lecture IoT Lecture IoT Lecture
PPTX
IOT LECTURE IOT LECTURE IOT LECTURE IOT LECTURE
PDF
Testing & QA Checklist for Magento to Shopify Migration Success.pdf
PPTX
Basic_of_Computer_System.pptx class-8 com
PPTX
REE IN CARBONATITE EEPOSIT AND INCLUDE CASE STUDY ON AMBADUNGAR
PPTX
购买林肯大学毕业证|i20Lincoln成绩单GPA修改本科毕业证书购买学历认证
PDF
ilide.info-huawei-odn-solution-introduction-pdf-pr_a17152ead66ea2617ffbd01e8c...
PPTX
National-Historical-Commission-of-the-PhilippinesNHCP.pptx
PPTX
Introduction to networking local area networking
PPTX
PORTFOLIO SAMPLE…….………………………………. …pptx
PPTX
北安普顿大学毕业证UoN成绩单GPA修改北安普顿大学i20学历认证文凭
PPTX
Data Flows presentation hubspot crm.pptx
PDF
JuanConnect E-Wallet Guide for new users.pdf
PPTX
Introduction: Living in the IT ERA.pptx
PPTX
IT-Human Computer Interaction Report.pptx
PDF
B450721.pdf American Journal of Multidisciplinary Research and Review
PPTX
Networking2-LECTURE2 this is our lessons
PDF
How Technology Shapes Our Information Age
PDF
Information Technology practical assignment
WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx WEEK 15.pptx
IoT Lecture IoT Lecture IoT Lecture IoT Lecture
IOT LECTURE IOT LECTURE IOT LECTURE IOT LECTURE
Testing & QA Checklist for Magento to Shopify Migration Success.pdf
Basic_of_Computer_System.pptx class-8 com
REE IN CARBONATITE EEPOSIT AND INCLUDE CASE STUDY ON AMBADUNGAR
购买林肯大学毕业证|i20Lincoln成绩单GPA修改本科毕业证书购买学历认证
ilide.info-huawei-odn-solution-introduction-pdf-pr_a17152ead66ea2617ffbd01e8c...
National-Historical-Commission-of-the-PhilippinesNHCP.pptx
Introduction to networking local area networking
PORTFOLIO SAMPLE…….………………………………. …pptx
北安普顿大学毕业证UoN成绩单GPA修改北安普顿大学i20学历认证文凭
Data Flows presentation hubspot crm.pptx
JuanConnect E-Wallet Guide for new users.pdf
Introduction: Living in the IT ERA.pptx
IT-Human Computer Interaction Report.pptx
B450721.pdf American Journal of Multidisciplinary Research and Review
Networking2-LECTURE2 this is our lessons
How Technology Shapes Our Information Age
Information Technology practical assignment

Pydata 2020 containers meetup