SlideShare a Scribd company logo
Add Title
Subtitle
Kubernetes to
improve business
scalability and
processes
Michele Orsi, 14th of June 2017
The Relevant and Inspiring Travel Company
2
A Tech Company to the Core
3
● Tech Department: 300+ people
● Applications: ~150
● Database: ~180 database schemas and ~50TB of data
● Servers: 1400 VMs, 300 physical machines
● Locations: Chiasso, Milan, Madrid, London, Bengaluru
At the beginning developers created the monolith
4
credits https://www.flickr.com/photos/southtopia/5702790189
5
credits https://www.pexels.com/photo/gray-pebbles-with-green-grass-51168/
"... let’s break into Microservices!"
A lot of Issues
6
● LONG Provisioning Time
● LACK OF Alignment across Environments
● LACK OF Alignment across Applications
○ weak contribution model
● LACK OF Awareness about OPS
A year-long Endeavour
7
● Build a New, Modern Infrastructure
● Migrate the Search (Flight/Hotel) Product there
... without:
● Impacting the Business
● Throwing away our whole Datacenter
Our Core Axioms
8
● Same Architecture across Environments
● A Common Framework to Align Software
● Centralized Monitoring/Logging, with Alerts
● Zero Downtime Deployment
● Automation Everywhere
Kubernetes: identify where is the pain
9
APP
cluster
APP
APP
APP
Monitoring
Datastore
Alerting
Queues
Logging
VCS Pipeline
kubernetes: our Architecture
10
APP3-PRODUCTION
APP2-PRODUCTION
APP1-PRODUCTION
APP3-PRODUCTION
APP2-PRODUCTION
APP1-PREVIEW
APP3-PRODUCTION
APP2-PRODUCTION
APP1-DEVELOPMENT
APP3-PRODUCTION
APP2-PRODUCTION
APP1-QA
nonproductionproduction
kubernetes: our Architecture and Choices
11
APP1-PRODUCTION
deployment
replica-set
app1-production.prd.mykubecluster.intra
secret configmap
POD-3POD-2POD-1
production
Monitoring, alerting and logging
12
APP1-PRODUCTION
cluster
graphite
app carbon
Grafana 4
collectdfluentd
elasticsearch Graylog
Zero Downtime (1): Graceful Shutdown
13
lifecycle:
preStop:
exec:
command: ["/stop_helper.sh"]
deployment.yaml
#!/bin/bash
wget http://localhost:8002/stop
stop_helper.sh
Zero Downtime (2): Graceful Startup
14
private CompletableFuture run(Stream<CompletableFuture> startupJobs)
{
return allOf(startupJobs.toArray(CompletableFuture[]::new))
.thenAccept(this::raiseReadinessUp)
.exceptionally(this::shutdown);
}
JobsExecutor.java
Automate Everything: pipeline(s)
15
pull
jar
build
docker
(gate)
QA
canary
(gate)
QA
stable
(gate)
PREV
canary
(gate)
PREV
stable
(gate)
PROD
canary
(gate)
PROD
stable
● git push
○ Continuous Integration
○ Continuous Delivery
Automate Everything: monitoring and .. alerting
16
● (1st) pipeline deploy
○ grafana dashboard(s)
○ .. alert(s)
[INFO]: Kubernetes really independent from Operating System
17
● independent from OS
● different OS at runtime
● criticalities only on masters
○ disable scheduling there
KUBERNETES
DOCKER
FLANNELD
ETCD
COREOS
NODE
old
KUBERNETES
DOCKER
FLANNELD
ETCD
UBUNTU
NODE
new
[WARNING]: Ingress controller
18
NODE 1
NODE 2
NODE 3
● Easier DNS Management
● Customizable Proxy Server
● 3rd Party Tool
● Requires External Sync
● All Requests go through it
● Reload Risks
F5
NGINX
NGINX
Give me the Numbers!
19
● 5K req/sec in the New Cluster
● 1.5M metrics/minute flows
● 10 minutes to create a new environment
● whole pipeline runs in 16 minutes
○ 4 minutes to release 100 instances of a new version
20
.. and the cloud?
Hybrid cloud: federated cluster
21
LB
on-premise
cloud
NODE
1
NODE
2
NODE
3
NODE
4
NODE
1
NODE
2
NODE
3
NODE
4
NODE
5
NODE
6
NODE
7
NODE
8
R&D: bring a micro-service into Google Cloud
22
APP
GKE
APP
APP
APP
Monitoring
CloudSQL
Alerting
PubSub
Logging
BigTable
Stackdriver
Thanks!
michele.orsi@lastminute.com

More Related Content

PDF
Building on spring boot lastminute.com microservices way (Spring IO Barcelona...
PDF
APPUiO Quick Start (OpenShift > DevOps > App Dev)
PDF
2015-09-16 georchestra @ foss4g2015 Seoul
PDF
Scalable Web Applications with 100% open source
PPTX
Ultimate Survival - React-Native edition
PDF
創科 從零開始認識 Docker
PDF
Avoid the Vendor Lock-in Trap (with App Deployment)
PDF
The Other WatchKit
Building on spring boot lastminute.com microservices way (Spring IO Barcelona...
APPUiO Quick Start (OpenShift > DevOps > App Dev)
2015-09-16 georchestra @ foss4g2015 Seoul
Scalable Web Applications with 100% open source
Ultimate Survival - React-Native edition
創科 從零開始認識 Docker
Avoid the Vendor Lock-in Trap (with App Deployment)
The Other WatchKit

Similar to Kubernetes to improve business scalability and processes (Cloud & DevOps World London 2017) (20)

TXT
Introduction about Kubernates Cluster
PDF
Kubecon seattle 2018 workshop slides
PDF
Xpdays: Kubernetes CI-CD Frameworks Case Study
PDF
Evolving for Kubernetes
PPTX
Why kubernetes matters
PDF
From CoreOS to Kubernetes and Concourse CI
PDF
Kubernetes: My BFF
PDF
Kubernetes in Production: Lessons Learnt
PPTX
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
PDF
Using kubernetes to lose your fear of using containers
PDF
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
PPTX
Kubernetes: від знайомства до використання у CI/CD
PPTX
Simplify Your Way To Expert Kubernetes Management
PDF
Kubernetes and lastminute.com: our course towards better scalability and proc...
PDF
Kubernetes and lastminute.com: our course towards better scalability and proc...
PPTX
Deploy at scale with CoreOS Kubernetes and Apache Stratos
PDF
Docker Madison, Introduction to Kubernetes
PPTX
Kubernetes Presentation
PPTX
Kubernetes: A Top Notch Automation Solution
PPTX
Introduction kubernetes 2017_12_24
Introduction about Kubernates Cluster
Kubecon seattle 2018 workshop slides
Xpdays: Kubernetes CI-CD Frameworks Case Study
Evolving for Kubernetes
Why kubernetes matters
From CoreOS to Kubernetes and Concourse CI
Kubernetes: My BFF
Kubernetes in Production: Lessons Learnt
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
Using kubernetes to lose your fear of using containers
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
Kubernetes: від знайомства до використання у CI/CD
Simplify Your Way To Expert Kubernetes Management
Kubernetes and lastminute.com: our course towards better scalability and proc...
Kubernetes and lastminute.com: our course towards better scalability and proc...
Deploy at scale with CoreOS Kubernetes and Apache Stratos
Docker Madison, Introduction to Kubernetes
Kubernetes Presentation
Kubernetes: A Top Notch Automation Solution
Introduction kubernetes 2017_12_24
Ad

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Encapsulation theory and applications.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
cuic standard and advanced reporting.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
KodekX | Application Modernization Development
PPT
Teaching material agriculture food technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Approach and Philosophy of On baking technology
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Big Data Technologies - Introduction.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Empathic Computing: Creating Shared Understanding
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation_ Review paper, used for researhc scholars
Encapsulation theory and applications.pdf
MYSQL Presentation for SQL database connectivity
cuic standard and advanced reporting.pdf
Understanding_Digital_Forensics_Presentation.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Unlocking AI with Model Context Protocol (MCP)
KodekX | Application Modernization Development
Teaching material agriculture food technology
MIND Revenue Release Quarter 2 2025 Press Release
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
Advanced methodologies resolving dimensionality complications for autism neur...
Approach and Philosophy of On baking technology
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Big Data Technologies - Introduction.pptx
Ad

Kubernetes to improve business scalability and processes (Cloud & DevOps World London 2017)