SlideShare a Scribd company logo
State-of-the-art
Container Management Platform
08 / 2016
About me
● Name: Chu Duc Minh - Age: 32
● Cloud Chief Architect @ VCCorp
● Head of Cloud Solutions department @ VCCloud
● Expertise: SDN, Storage, OpenStack, Kubernetes, Hashicorp tools
● Passion: Distributed System, Cloud &
Infrastructure Technologies
Ok, now we have containers...
Isolation: Keep services from interfering with each other
Scheduling: Where should my service be run?
Lifecycle: Keep my service running
Discovery: Where is my job now?
Constituency: Which (containers) is part of my service?
Scale-up/down: Making my services bigger or smaller
Auth{n,z}: Who can do things to my service?
Monitoring: What’s happening with my service?
Health: How is my service feeling? (well or sick?)
Google and Containers
Kubernetes (short-name: k8s)
● Project was started by Google in 2014.
● Kubernetes is an open-source platform for automating deployment,
scaling, and operations of application containers across clusters of
hosts.
● Provides container grouping, load-balancing, auto-healing, scaling.
● Can run on anywhere: Public Cloud (AWS, GCE,..), Private Cloud
(OpenStack), Baremetal, v.v…
● Extensible: Modular & Pluggable & Hookable architecture
Community
ContainerDayVietnam2016: Kubernetes State-of-the-art Container Management Platform
Design Overview
“ Kubernetes is primarily targeted at applications composed of
multiple containers, such as elastic, distributed micro-services.
It is also designed to facilitate migration of non-containerized
application stacks to Kubernetes.
…[Kubernetes] provides ways for containers to find and
communicate with each other in relatively familiar ways. ”
https://github.com/kubernetes/kubernetes/tree/master/docs/design
How does it work?
Kubernetes Architecture
Key concepts
● Pod - A group of co-living containers
● Labels - For identifying pods
● Replication Controller - Manages replication of pods
● Service - A logical set of pods and way to expose them
● Namespaces - Way to seperate environments, projects,
applications,…
● Service Discovery - By cluster-DNS
ContainerDayVietnam2016: Kubernetes State-of-the-art Container Management Platform
Pod
Small group of containers & volumes
Tightly coupled:
same node
The atom of cluster scheduling & placement!
Shared network namespace:
share IP address & localhost
Example:
Pod 1: data puller & web server
Pod 2: web server & log shipper
Pod
Pod
Pod networking
Pod IPs are routable
Docker default is private IP
Pods can reach each other
without NAT
even across nodes
No brokering of port numbers
This is a fundamental requirement
several SDN solutions
Labels
➢ Label is simple key/value pair
➢ Attached to any API object
➢ Generally used for represent identity
➢ Queryable by selectors:
think SQL ‘select ... where ...’
➢ The only grouping mechanism of K8s:
pods under a ReplicationController
pods in a Service
capabilities of a node (constraints)
ContainerDayVietnam2016: Kubernetes State-of-the-art Container Management Platform
Replication Controller
Replication Controller
- Desired = 4
- Current = 4
Replication Controller
Replication Controller
- Desired = 4
- Current = 4
Replication Controller
Replication Controller
- Desired = 4
- Current = 3
Replication Controller
Replication Controller
- Desired = 4
- Current = 4
Replication Controller
Service
A group of pods that act as one == Service
group == selector
Gets a stable virtual IP and port
called the service portal
also a DNS name
VIP is captured by kube-proxy
watches the service constituency
updates when backends change
ContainerDayVietnam2016: Kubernetes State-of-the-art Container Management Platform
● By teams
● By projects
● By operators
● By environments
○ Dev
○ Test
○ Staging
○ Production
Server-side Service Discovery
Server-side Service Discovery
Rolling-update
...is a deployment pattern.
Update microservices to new version gracefully!
Also rollback too.
Deployment
More deploy patterns is supported!
Blue/Green
Canary
with many customizable options.
Ref: http://kubernetes.io/docs/user-guide/deployments/
Secrets Management
“Secrets” like username/password, API key, SSL certificate, v.v..
Secrets only stored in Kubernetes and only used by
allowed services.
[Encrypted-] secrets no more stored in gitRepo, sysadmin’s laptop,
volume on a storage, v.v…
→More secure!
Pod can access to allowed secrets via:
Files (in pod’s mounted-volume)
ENV vars
Secrets Management
Secrets Management
Monitoring
Metrics
Log
ContainerDayVietnam2016: Kubernetes State-of-the-art Container Management Platform
ContainerDayVietnam2016: Kubernetes State-of-the-art Container Management Platform
Pluggability
You can choose [almost] any technology you want!
networking (Flannel, Calico, OpenContrail, Weave, Romana, v.v..)
storage (NFS, GlusterFS, amazonEBS, gcePersistentDisk, RBD, v.v..)
container (Docker, rkt, HyperContainer)
And any cloud-provider you want!
AWS / GCE / Azure
OpenStack / CloudStack
And extend K8s’s scheduler via multi mechanisms
& over multi dimensions.
Integrate with OpenStack (/AWS/GCE/Azure)
Auto-provision and configure:
❖ Load-balancer (LBaaS @ OpenStack)
❖ Volume (Cinder @ OpenStack)
❖ etc
…magically!
Minikube
➢ Minikube starts a single node kubernetes cluster locally for purposes
of development and testing.
➢ Packages and configures a Linux VM, Docker and all Kubernetes
components, optimized for local development.
➢ Supports:
○ DNS
○ NodePorts
○ ConfigMaps and Secrets
Conclusion
Kubernetes is a Toolkit for running distributed systems in production!
Co-locating helper processes Naming and discovery
Mounting storage systems Load balancing
Distributing secrets Rolling updates
Application health-checking Resource monitoring
Replicating application instances Log access and ingestion
Horizontal auto-scaling Support for introspection
and debugging
Q & A
This page is intentionally left blank.
One last thing...
Kubernetes-based PaaS
References
https://www.youtube.com/watch?v=06InE1XTlIo
http://www.slideshare.net/brendandburns/defrag-2014-41815642
https://www.youtube.com/watch?v=qCxYjq7EBHc
http://www.slideshare.net/imesh/an-introduction-to-kubernetes
http://www.slideshare.net/KasperNissen1/google-cloud-platform-and-kubernetes
https://www.nginx.com/blog/service-discovery-in-a-microservices-architecture/
http://martinfowler.com/articles/microservices.html
https://www.youtube.com/watch?v=DGlQgNmobuc

More Related Content

PDF
ContainerDayVietnam2016: Dockerize a small business
PDF
ContainerDayVietnam2016: Containers with OpenStack
PDF
ContainerDayVietnam2016: Docker at scale with Mesos
PDF
ContainerDayVietnam2016: Docker for JS Developer
PDF
Dev with Docker WCPHX 2019
PDF
ContainerDayVietnam2016: Django Development with Docker
PPTX
Azure container service docker-ha noi com
PDF
ContainerDayVietnam2016: Hybrid and Automation System Architecture
ContainerDayVietnam2016: Dockerize a small business
ContainerDayVietnam2016: Containers with OpenStack
ContainerDayVietnam2016: Docker at scale with Mesos
ContainerDayVietnam2016: Docker for JS Developer
Dev with Docker WCPHX 2019
ContainerDayVietnam2016: Django Development with Docker
Azure container service docker-ha noi com
ContainerDayVietnam2016: Hybrid and Automation System Architecture

What's hot (20)

PPTX
Docker basics
PDF
How we dockerized a startup? #meetup #docker
PPTX
Docker & Kubernetes intro
PDF
Docker & kubernetes
PPTX
Introduction to Docker - 2017
PPTX
Compare Docker deployment options in the public cloud
PDF
Docker Online Meetup: Infrakit update and Q&A
PDF
Introduction to container based virtualization with docker
PPTX
Introduction to docker
PDF
Kubernetes in Docker
PDF
ContainerDayVietnam2016: Become a Cloud-native Developer
PPTX
Docker- Ha Noi - Year end 2015 party
PDF
Docker serverless v1.0
PDF
Securing your Containers
PPTX
Docker 101 Checonf 2016
PDF
Introduction to Docker Compose
PPTX
Orchestrating Docker Containers with Google Kubernetes on OpenStack
PDF
Dockers and kubernetes
PDF
Scaling Jenkins with Docker: Swarm, Kubernetes or Mesos?
PDF
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Docker basics
How we dockerized a startup? #meetup #docker
Docker & Kubernetes intro
Docker & kubernetes
Introduction to Docker - 2017
Compare Docker deployment options in the public cloud
Docker Online Meetup: Infrakit update and Q&A
Introduction to container based virtualization with docker
Introduction to docker
Kubernetes in Docker
ContainerDayVietnam2016: Become a Cloud-native Developer
Docker- Ha Noi - Year end 2015 party
Docker serverless v1.0
Securing your Containers
Docker 101 Checonf 2016
Introduction to Docker Compose
Orchestrating Docker Containers with Google Kubernetes on OpenStack
Dockers and kubernetes
Scaling Jenkins with Docker: Swarm, Kubernetes or Mesos?
Highly Available Persistent Applications in Containers by Kendrick Coleman, E...
Ad

Viewers also liked (20)

PPTX
ElasticKube, a Container Management Platform for Kubernetes
PDF
kubernetes - minikube - getting started
PDF
JavaOne 2016: The Deploy Master: From Basic to Zero Downtime, Blue/Green, A/B...
PDF
Introduction to kubernetes
PDF
Docker Madison, Introduction to Kubernetes
PPTX
9 ways to consume kubernetes on open stack in 15 mins (k8s meetup)
PPTX
Kubernetes Introduction
PDF
Introduction to Kubernetes - Docker Global Mentor Week 2016
PPTX
Docker for the new Era: Introducing Docker,its components and tools
PDF
Kubernetes Introduction
PDF
Kubernetes automation in production
PDF
Kubernetes Architecture and Introduction
PPT
An Introduction to Container Organization with Docker Swarm, Kubernetes, Meso...
PDF
Getting started with kubernetes
PDF
Java Performance Analysis on Linux with Flame Graphs
PDF
Scaling Docker with Kubernetes
PDF
Kubernetes architecture
PDF
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
PDF
Blazing Performance with Flame Graphs
PDF
Achieving CI/CD with Kubernetes
ElasticKube, a Container Management Platform for Kubernetes
kubernetes - minikube - getting started
JavaOne 2016: The Deploy Master: From Basic to Zero Downtime, Blue/Green, A/B...
Introduction to kubernetes
Docker Madison, Introduction to Kubernetes
9 ways to consume kubernetes on open stack in 15 mins (k8s meetup)
Kubernetes Introduction
Introduction to Kubernetes - Docker Global Mentor Week 2016
Docker for the new Era: Introducing Docker,its components and tools
Kubernetes Introduction
Kubernetes automation in production
Kubernetes Architecture and Introduction
An Introduction to Container Organization with Docker Swarm, Kubernetes, Meso...
Getting started with kubernetes
Java Performance Analysis on Linux with Flame Graphs
Scaling Docker with Kubernetes
Kubernetes architecture
Kubernetes Architecture and Introduction – Paris Kubernetes Meetup
Blazing Performance with Flame Graphs
Achieving CI/CD with Kubernetes
Ad

Similar to ContainerDayVietnam2016: Kubernetes State-of-the-art Container Management Platform (20)

PDF
Kubernetes - how to orchestrate containers
PPTX
Introduction to Kubernetes
PDF
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
PPTX
Kubernetes 101
PDF
Kubernetes
PDF
Dockers zero to hero
PPTX
Devoxx 2016 - Docker Nuts and Bolts
PDF
DevEx | there’s no place like k3s
PPTX
Kubernetes #1 intro
PPTX
Private Cloud with Open Stack, Docker
PDF
Halifax DevOps - Meet-up - July.19 2017
PDF
Managing containers at scale
PDF
Kubernetes: https://youtu.be/KnjnQj-FvfQ
PPTX
Oscon 2017: Build your own container-based system with the Moby project
PPTX
Webinar Docker Tri Series
PPTX
Kubernetes is all you need
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
Nomad by HashiCorp Presentation (DevOps)
PDF
Choosing PaaS: Cisco and Open Source Options: an overview
PDF
Kubernetes Intro
Kubernetes - how to orchestrate containers
Introduction to Kubernetes
Microservices , Docker , CI/CD , Kubernetes Seminar - Sri Lanka
Kubernetes 101
Kubernetes
Dockers zero to hero
Devoxx 2016 - Docker Nuts and Bolts
DevEx | there’s no place like k3s
Kubernetes #1 intro
Private Cloud with Open Stack, Docker
Halifax DevOps - Meet-up - July.19 2017
Managing containers at scale
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Oscon 2017: Build your own container-based system with the Moby project
Webinar Docker Tri Series
Kubernetes is all you need
Nomad by HashiCorp Presentation (DevOps)
Nomad by HashiCorp Presentation (DevOps)
Choosing PaaS: Cisco and Open Source Options: an overview
Kubernetes Intro

More from Docker-Hanoi (17)

PDF
ContainerDayVietnam2016: Lesson Leanred on Docker 1.12 and Swarm Mode
PDF
ContainerDayVietnam2016: Docker 1.12 at OpenFPT
PPTX
Azure Container Service
PPTX
Docker-Ha Noi- Year end 2015 party
PDF
DockerDay2015: Introduction to OpenStack Magnum
PPTX
DockerDay2015: Keynote
PDF
DockerDay2015: Deploy Apps on IBM Bluemix
PDF
DockerDay2015: Docker Security
PDF
DockerDay2015: Docker orchestration for developers
PDF
DockerDay2015: Docker Networking
PDF
DockerDay2015: Docker orchestration for sysadmin
PDF
DockerDay2015: Getting started with Google Container Engine
PDF
DockerDay2015: Build and monitor a load balanced web application with Docker ...
PDF
DockerDay2015: Introduction to Dockerfile
PDF
DockerDay2015: Getting started with Docker
PDF
DockerDay2015: Microsoft and Docker
PDF
DockerDay 2015: From months to minutes - How GE appliances brought docker int...
ContainerDayVietnam2016: Lesson Leanred on Docker 1.12 and Swarm Mode
ContainerDayVietnam2016: Docker 1.12 at OpenFPT
Azure Container Service
Docker-Ha Noi- Year end 2015 party
DockerDay2015: Introduction to OpenStack Magnum
DockerDay2015: Keynote
DockerDay2015: Deploy Apps on IBM Bluemix
DockerDay2015: Docker Security
DockerDay2015: Docker orchestration for developers
DockerDay2015: Docker Networking
DockerDay2015: Docker orchestration for sysadmin
DockerDay2015: Getting started with Google Container Engine
DockerDay2015: Build and monitor a load balanced web application with Docker ...
DockerDay2015: Introduction to Dockerfile
DockerDay2015: Getting started with Docker
DockerDay2015: Microsoft and Docker
DockerDay 2015: From months to minutes - How GE appliances brought docker int...

Recently uploaded (20)

PDF
Modernizing your data center with Dell and AMD
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Approach and Philosophy of On baking technology
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Advanced IT Governance
PPTX
MYSQL Presentation for SQL database connectivity
PDF
KodekX | Application Modernization Development
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Big Data Technologies - Introduction.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Modernizing your data center with Dell and AMD
Unlocking AI with Model Context Protocol (MCP)
Chapter 3 Spatial Domain Image Processing.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Approach and Philosophy of On baking technology
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Review of recent advances in non-invasive hemoglobin estimation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Machine learning based COVID-19 study performance prediction
NewMind AI Monthly Chronicles - July 2025
Advanced IT Governance
MYSQL Presentation for SQL database connectivity
KodekX | Application Modernization Development
20250228 LYD VKU AI Blended-Learning.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Big Data Technologies - Introduction.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy

ContainerDayVietnam2016: Kubernetes State-of-the-art Container Management Platform