SlideShare a Scribd company logo
DOCKER CONTAINER
ORCHESTRATION
Fernand Galiana
My Requirements
• Micro Service support
• Multi node deploys + Docker
• Multi ports TCP/UDP/HTTP
• DNS like support across cluster
• Deploy target: AWS
• Rolling updates
• Easy to grasp
• Community support
• Tooling
Whoosh!
Been All Around The World…
• Apache Mesos
• Docker Swarm
• ECS
• Kubernetes
• Deis
• Fleet
• Helios
Why Kubernetes?
• Flexibility
• Rest API
• Cluster orchestration
• Tooling
• Self healing
• Open source
• Not Vendor centric
• DockerCompose like
• Contributors 560+
• Community
• Google
CONCEPTS
K8S
• Node
• Pod
• Replication Controller
• Service
• Volume
• Namespace
• Label
• Annotation
Nodes
Master
Minion1 Minion2 Minion…
Nodes
Minion-1 Minion-2 Minion-n
Master
REST API
Pod
• Collocated Containers
• Same host
• Coupling
• Shared volume
• Ephemeral
Pod Definition
kind: Pod
apiVersion: v1
metadata:
name: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
ngnix.yml
Deploy!
kubectl create -f ngnix.yml
Labels
• Key/Value Tagging
• May Change during lifetime
• 63 chars alpha(-/_/.)
Label It!
kind: Pod
apiVersion: v1
metadata:
name: nginx
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
Find it!
kubectl get pods -l app=nginx
Annotations
• Similar to labels
• !Selectors
• Track build#, versions
Replication Controller
• Pod Cloning
• Pod Supervisor
Selectors
• =,!=
• in, notin, exists, !exists
• , == AND
ReplicationController
kind: ReplicationController
apiVersion: v1
metadata:
name: nginx-controller
spec:
replicas: 2
selector:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
ReplicationController
kind: ReplicationController
apiVersion: v1
metadata:
name: nginx-controller
spec:
replicas: 2
selector:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80
MUST MATCH!!
Deploy!
kubectl create -f nginx-rc
GREAT NOW WHAT?
Services
• Logical set of pods
• Decoupling between pods and pod’s clients
• Pod(s) endpoint
• HaProxy on steroids (TCP, UDP, HTTP)
• Can point to !k8s endpoint (subsets)
• Virtual IP
• Services must exits before pods
• {SVC}SERVICE_HOST/{SVC}_SERVICE_PORT
Services
App2
App3
App1
4567
4567
4567
app=fred
KubeProxy
IpTables
ApiServer
Client
app=fred
app=fred
Volumes
• Outlive container’s crash
• Medium: Dir|Memory
• Types: emptyDir|hostPath|NFS|EBS|gitRepo,…
• Specify mount point
Persistent Volumes
• Persistent volume (PV)
• Persistent volume claim (PVC)
Secrets
• OAUTH Tokens
• User/Pwd
DEMO
Demo
New Features
• Daemon Sets
• Deployments
• Ingress Ressources
• Horizontal Pods
• Jobs
Resources
• kubernetes.io
• github.com/kubernetes/kubernetes
SAY HELLO TO MY LITTLE
FRIEND…
THOUGHTS?
THANK YOU!!

More Related Content

PDF
Scaling and Managing Cassandra with docker, CoreOS and Presto
PDF
Cassandra and docker
PDF
Cassandra and Docker Lessons Learned
PPTX
Cassandra via-docker
PDF
Cassandra on Docker
PDF
Introduction To Docker
PDF
Consuming Cinder from Docker
PPT
Kubernetes on CloudStack with coreOS
Scaling and Managing Cassandra with docker, CoreOS and Presto
Cassandra and docker
Cassandra and Docker Lessons Learned
Cassandra via-docker
Cassandra on Docker
Introduction To Docker
Consuming Cinder from Docker
Kubernetes on CloudStack with coreOS

What's hot (20)

ODP
Docker - The Linux Container
PDF
Basic docker for developer
PDF
Demystifying kubernetes
PDF
Wanting distributed volumes - Experiences with ceph-docker
PDF
Nebulaworks Docker Overview 09-22-2015
PPTX
Introduction to Docker
PPTX
Consuming Cinder from Docker
PDF
Introduction to docker
PDF
Optimizing Docker Images
PPTX
Docker Introduction
PDF
Docker from A to Z, including Swarm and OCCS
PDF
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
PDF
Building a smarter application stack - service discovery and wiring for Docker
PDF
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
PDF
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
PDF
Docker module 1
PDF
Introduction to Docker - Docker workshop @Twitter
PDF
Docker and Containers for Development and Deployment — SCALE12X
PPTX
Docker for the new Era: Introducing Docker,its components and tools
PDF
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
Docker - The Linux Container
Basic docker for developer
Demystifying kubernetes
Wanting distributed volumes - Experiences with ceph-docker
Nebulaworks Docker Overview 09-22-2015
Introduction to Docker
Consuming Cinder from Docker
Introduction to docker
Optimizing Docker Images
Docker Introduction
Docker from A to Z, including Swarm and OCCS
Introduction to Docker and all things containers, Docker Meetup at RelateIQ
Building a smarter application stack - service discovery and wiring for Docker
Wso2 con 2014-us-tutorial-apache stratos-wso2 private paas with docker integr...
Docker Intro at the Google Developer Group and Google Cloud Platform Meet Up
Docker module 1
Introduction to Docker - Docker workshop @Twitter
Docker and Containers for Development and Deployment — SCALE12X
Docker for the new Era: Introducing Docker,its components and tools
From Docker Swarm to OCCS and Wercker: Live-hacking at Oracle CODE Mexico 2017
Ad

Viewers also liked (20)

PDF
Cassandra Tutorial
PDF
DataStax: Dockerizing Cassandra on Modern Linux
PPTX
Building blocks of e-commerce sites
PDF
Apache Cassandra Management
PDF
Cassandra-as-a-Service
PDF
Cassandra Front Lines
PDF
Cassandra Bootstap from Backups
PDF
Micro-batching: High-performance writes
PDF
Bucket List Item #1246
PDF
Docker Networking with Container Orchestration Engines [Docker Meetup Santa C...
PDF
Illinois State University
PDF
What You Always Wanted to Know About Container Orchestration and Never Dared ...
PDF
Container Security via Monitoring and Orchestration - Container Security Summit
PDF
ContainerDays Boston 2015: "A Brief History of Containers" (Jeff Victor & Kir...
PDF
Kubernetes - #gdglimasummit
PDF
Clarity About Container Orchestration for a Developing Market
PPTX
Intro to Docker Swarm
PDF
Container orchestration
PDF
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...
PPTX
Scaling DataStax in Docker
Cassandra Tutorial
DataStax: Dockerizing Cassandra on Modern Linux
Building blocks of e-commerce sites
Apache Cassandra Management
Cassandra-as-a-Service
Cassandra Front Lines
Cassandra Bootstap from Backups
Micro-batching: High-performance writes
Bucket List Item #1246
Docker Networking with Container Orchestration Engines [Docker Meetup Santa C...
Illinois State University
What You Always Wanted to Know About Container Orchestration and Never Dared ...
Container Security via Monitoring and Orchestration - Container Security Summit
ContainerDays Boston 2015: "A Brief History of Containers" (Jeff Victor & Kir...
Kubernetes - #gdglimasummit
Clarity About Container Orchestration for a Developing Market
Intro to Docker Swarm
Container orchestration
AtlasCamp 2015: The age of orchestration: From Docker basics to cluster manag...
Scaling DataStax in Docker
Ad

Similar to Docker Container Orchestration (20)

PPTX
Docker and kubernetes_introduction
PPTX
Kubernetes-Presentation-Syed-Murtaza-Hassan
PDF
Kubernetes and its Infrastructure - a walkthrough from the paths of container...
PDF
Scaling docker with kubernetes
PPTX
Container Orchestration using Kubernetes
PDF
Orchestrating Microservices with Kubernetes
PPTX
HA Kubernetes on Mesos / Marathon
PDF
Kubernetes
PDF
Kubernetes
PDF
Kubernetes for Java developers
PPTX
Containers orchestrators: Docker vs. Kubernetes
PDF
Kubernetes - how to orchestrate containers
PDF
Container (Docker) Orchestration Tools
PDF
Come costruire una Platform As A Service con Docker, Kubernetes Go e Java
PDF
Dessi docker kubernetes paas cloud
PDF
Docker and Kubernetes 101 workshop
PPTX
An Introduction to Kubernetes and Continuous Delivery Fundamentals
PPTX
Kubernetes: від знайомства до використання у CI/CD
PDF
Kubernetes - Sailing a Sea of Containers
PDF
99cloud Docker Training module 2
Docker and kubernetes_introduction
Kubernetes-Presentation-Syed-Murtaza-Hassan
Kubernetes and its Infrastructure - a walkthrough from the paths of container...
Scaling docker with kubernetes
Container Orchestration using Kubernetes
Orchestrating Microservices with Kubernetes
HA Kubernetes on Mesos / Marathon
Kubernetes
Kubernetes
Kubernetes for Java developers
Containers orchestrators: Docker vs. Kubernetes
Kubernetes - how to orchestrate containers
Container (Docker) Orchestration Tools
Come costruire una Platform As A Service con Docker, Kubernetes Go e Java
Dessi docker kubernetes paas cloud
Docker and Kubernetes 101 workshop
An Introduction to Kubernetes and Continuous Delivery Fundamentals
Kubernetes: від знайомства до використання у CI/CD
Kubernetes - Sailing a Sea of Containers
99cloud Docker Training module 2

More from Fernand Galiana (10)

PDF
GraphQLUs For The RestOfUs!
PDF
Sailing into 2018 with Kubernetes and Istio
PDF
GraphQL, The New Black?
PDF
You, Mix and Kubee
PDF
In The Land Of Graphs...
PDF
PDF
I motion
PDF
What's new in Rails5?
PDF
R-House (LSRC)
PDF
Rhouse - Home automation is ruby ?
GraphQLUs For The RestOfUs!
Sailing into 2018 with Kubernetes and Istio
GraphQL, The New Black?
You, Mix and Kubee
In The Land Of Graphs...
I motion
What's new in Rails5?
R-House (LSRC)
Rhouse - Home automation is ruby ?

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
KodekX | Application Modernization Development
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PDF
cuic standard and advanced reporting.pdf
PDF
Modernizing your data center with Dell and AMD
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PPT
Teaching material agriculture food technology
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Cloud computing and distributed systems.
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation theory and applications.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Electronic commerce courselecture one. Pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
NewMind AI Weekly Chronicles - August'25 Week I
KodekX | Application Modernization Development
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
cuic standard and advanced reporting.pdf
Modernizing your data center with Dell and AMD
Review of recent advances in non-invasive hemoglobin estimation
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Encapsulation_ Review paper, used for researhc scholars
Teaching material agriculture food technology
MYSQL Presentation for SQL database connectivity
Cloud computing and distributed systems.
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation theory and applications.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Electronic commerce courselecture one. Pdf

Docker Container Orchestration