SlideShare a Scribd company logo
Micro services at scale with Docker and
Kubernetes
9-2-2017 – Amsterdam JUG
Bedankt voor jullie aandacht
“Once you stop learning, you start dying”
- Albert Einstein
ARJEN WASSINK
Principal Consultant
a.wassink@quintor.nl
@ArjenWassink
The Menu
1. Intro Microservices
2. Intro Docker
3. Kubernetes
4. Rolling updates
5. Persisted volumes
6. Stateful services
4 Raspberry Pi 2B
Quadcore 900MHz, 1GB RAM, 16GB SD-card
Pi Stack case
D-Link network switch
Anker USB power adapter
Nice white cables
Total Cost: +/- EUR 300
Martin Fowler on Microservices:
In short, the microservice architectural style [1] is an approach to
developing a single application as a suite of small services, each running
in its own process and communicating with lightweight mechanisms,
often an HTTP resource API. These services are built around business
capabilities and independently deployable by fully automated
deployment machinery. There is a bare minimum of centralized
management of these services, which may be written in different
programming languages and use different data storage technologies.
Microservices: Scaling is important
https://www.nginx.com/blog/introduction-to-microservices/
Microservices: advantages
● The services themselves are very simple, focussing on doing
one thing well;
● Each service can be built using the best and most appropriate
tool for the job;
● Systems built in this way are inherently loosely coupled;
● Multiple developers and teams can deliver relatively
independently of each other under this model;
● They are a great enabler for continuous delivery, allowing
frequent releases whilst keeping the rest of the system
available and stable.
Microservices: drawbacks
● Complex distributed systems
● Diverse technology stack
● More software projects to manage
● Reliability and performance
● Exponentially more service instances to manage
Build Ship Run
http://www.zdnet.com/article/what-is-docker-and-why-is-it-so-darn-popular/
Virtual Machines vs. Containers
https://docs.docker.com/engine/introduction/understanding-docker/
Docker - Architecture
Docker - Layering
https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/
Docker at scale with Kubernetes
Everything at Google
runs in containers
Launch over 2 billion
containers per week.
web browsers
BorgMaster
link shard
UI shardBorgMaster
link shard
UI shardBorgMaster
link shard
UI shardBorgMaster
link shard
UI shard
Scheduler
borgcfg web browsers
scheduler
Borglet Borglet Borglet Borglet
Config
file
BorgMaster
link shard
UI shard
persistent store
(Paxos)
Binary
Developer View
What just
happened?
Enter Kubernetes
Greek for “Helmsman”; also the root of
the word “Governor”
• Container orchestrator
• Runs containers
• Supports multiple cloud and
bare-metal environments
• Inspired and informed by Google’s
experiences and internal systems
• Open source, written in Go
Manage applications, not machines
web browsers
Scheduler
kubectl web browsers
scheduler
Kubelet Kubelet Kubelet Kubelet
Config
file
Kubernetes Master
Container
Image
Developer View
What just
happened?
Kubernetes - Architecture
https://en.wikipedia.org/wiki/Kubernetes
http://www.slideshare.net/kitmerker/devnexus-2015-kubernetes-container-engine
Pods, Replication sets & (auto)scaling
Pod
con-
tainer
con-
tainer
Deployment
Replication Set
Pod
con-
tainer
con-
tainer
Pod
con-
tainer
con-
tainer
Services
Pod
con-
tainer
con-
tainer
Service
Cluster IP:port <10.0.0.20:80>
Node IP:port <10.150.42.191:88>
Pod
con-
tainer
con-
tainer
Pod
con-
tainer
con-
tainer
Loadbalancer
Kube Proxy
(IP Tables)
API server
Watches
Namespaces
PodDeployment Pod
Service
PodDeployment Pod
Service
Worker Node Worker Node
Worker Node
Persistent Storage Node
Persistent Volumes
Pod
con-
tainer
con-
tainer
Persisted Volume
Persisted Volume Claim
Persisted Volume Mount
Microservices at scale with docker and kubernetes - AMS JUG 2017
Quintor
Resources
• Docker - Build, Ship, and Run Any App, Anywhere – www.docker.com
• Kubernetes - Accelerate Your Delivery – kubernetes.io
• Creating a Raspberry Pi cluster running Kubernetes –
tinyurl.com/rpi-k8s-cluster
@ArjenWassink

More Related Content

PPTX
Containerizing a REST API and Deploying to Kubernetes
PDF
Continuous delivery of microservices with kubernetes - Quintor 27-2-2017
PPTX
Monitoring, Logging and Tracing on Kubernetes
PDF
Understanding Kubernetes
PDF
Kubernetes on aws
PDF
Kubernetes - Starting with 1.2
PDF
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
PDF
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014
Containerizing a REST API and Deploying to Kubernetes
Continuous delivery of microservices with kubernetes - Quintor 27-2-2017
Monitoring, Logging and Tracing on Kubernetes
Understanding Kubernetes
Kubernetes on aws
Kubernetes - Starting with 1.2
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
Containers, Clusters and Kubernetes - Brendan Burns - Defrag 2014

What's hot (20)

PPTX
Deploying apps with Docker and Kubernetes
PDF
Continuous Deployment with Jenkins on Kubernetes
PDF
Mattia Gandolfi - Improving utilization and portability with Containers and C...
PPTX
KubeCon EU 2016: Multi-Tenant Kubernetes
PDF
Moving to Kubernetes - Tales from SoundCloud
PDF
Platform Orchestration with Kubernetes and Docker
PPTX
Scaling Docker Containers using Kubernetes and Azure Container Service
PPTX
Docker & Kubernetes intro
PDF
Kubernetes Architecture and Introduction
PDF
Introduction to Kubernetes
PPTX
Containers in production with docker, coreos, kubernetes and apache stratos
PDF
Kubernetes and Hybrid Deployments
PDF
Kubernetes architecture
PDF
The top 5 Kubernetes metrics to monitor
PPTX
Kubernetes Introduction
PDF
Deploying WSO2 Middleware on Kubernetes
PPTX
Kubernetes Introduction
PDF
Kubernetes
PDF
Kubernetes basics and hands on exercise
PDF
kubernetes for beginners
Deploying apps with Docker and Kubernetes
Continuous Deployment with Jenkins on Kubernetes
Mattia Gandolfi - Improving utilization and portability with Containers and C...
KubeCon EU 2016: Multi-Tenant Kubernetes
Moving to Kubernetes - Tales from SoundCloud
Platform Orchestration with Kubernetes and Docker
Scaling Docker Containers using Kubernetes and Azure Container Service
Docker & Kubernetes intro
Kubernetes Architecture and Introduction
Introduction to Kubernetes
Containers in production with docker, coreos, kubernetes and apache stratos
Kubernetes and Hybrid Deployments
Kubernetes architecture
The top 5 Kubernetes metrics to monitor
Kubernetes Introduction
Deploying WSO2 Middleware on Kubernetes
Kubernetes Introduction
Kubernetes
Kubernetes basics and hands on exercise
kubernetes for beginners
Ad

Similar to Microservices at scale with docker and kubernetes - AMS JUG 2017 (20)

PPTX
Kubernetes 101
PPTX
Kubernetes is all you need
PDF
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
PDF
Introduction of Kubernetes - Trang Nguyen
PPTX
Microservices, docker , kubernetes and many more
PPTX
Microservices in academic environment
PPTX
Kubernetes solutions
PPTX
Docker-N-Beyond
PDF
Demystifying Docker
PPTX
Demystifying Docker101
PDF
Driving Digital Transformation With Containers And Kubernetes Complete Deck
PPTX
Building microservices with docker
PDF
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
PDF
An Architectural Deep Dive With Kubernetes And Containers Powerpoint Presenta...
PDF
Google Cloud Platform and Kubernetes
PPTX
Microservices with Docker
PPTX
Microservices and containers for the unitiated
PDF
Containers, microservices and serverless for realists
PDF
Containers, Docker, and Microservices: the Terrific Trio
PDF
AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AK...
Kubernetes 101
Kubernetes is all you need
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Introduction of Kubernetes - Trang Nguyen
Microservices, docker , kubernetes and many more
Microservices in academic environment
Kubernetes solutions
Docker-N-Beyond
Demystifying Docker
Demystifying Docker101
Driving Digital Transformation With Containers And Kubernetes Complete Deck
Building microservices with docker
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
An Architectural Deep Dive With Kubernetes And Containers Powerpoint Presenta...
Google Cloud Platform and Kubernetes
Microservices with Docker
Microservices and containers for the unitiated
Containers, microservices and serverless for realists
Containers, Docker, and Microservices: the Terrific Trio
AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AKS_2AK...
Ad

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Advanced IT Governance
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Monthly Chronicles - July 2025
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Modernizing your data center with Dell and AMD
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Electronic commerce courselecture one. Pdf
Cloud computing and distributed systems.
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Advanced methodologies resolving dimensionality complications for autism neur...
Advanced IT Governance
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Monthly Chronicles - July 2025
The AUB Centre for AI in Media Proposal.docx
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Understanding_Digital_Forensics_Presentation.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Modernizing your data center with Dell and AMD
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Empathic Computing: Creating Shared Understanding
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MYSQL Presentation for SQL database connectivity
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
“AI and Expert System Decision Support & Business Intelligence Systems”
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Electronic commerce courselecture one. Pdf

Microservices at scale with docker and kubernetes - AMS JUG 2017