FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED...
Transcript of FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED...
![Page 1: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/1.jpg)
FROM MONOLITH TO DOCKERDISTRIBUTED APPLICATIONS
Carlos Sanchez
@csanchezWatch online at carlossg.github.io/presentations
![Page 2: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/2.jpg)
ABOUT MESenior So�ware Engineer @ CloudBees
Author of Jenkins Kubernetes plugin
Long time OSS contributor at Apache Maven, Eclipse,Puppet,…
![Page 3: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/3.jpg)
DOCKER DOCKER DOCKER
![Page 4: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/4.jpg)
![Page 5: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/5.jpg)
OUR USE CASE
Scaling JenkinsYour mileage may vary
![Page 6: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/6.jpg)
![Page 7: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/7.jpg)
![Page 8: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/8.jpg)
![Page 9: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/9.jpg)
![Page 10: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/10.jpg)
A 2000 JENKINS MASTERS CLUSTER3 Mesos masters (m3.xlarge: 4 vCPU, 15GB, 2x40 SSD)317 Mesos slaves (c3.2xlarge, m3.xlarge, m4.4xlarge)7 Mesos slaves dedicated to ElasticSearch: (c3.8xlarge: 32vCPU, 60GB)
12.5 TB - 3748 CPU
Running 2000 masters and ~8000 concurrent jobs
![Page 11: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/11.jpg)
ARCHITECTURE
![Page 12: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/12.jpg)
![Page 13: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/13.jpg)
Isolated Jenkins masters
Isolated build agents and jobs
Memory and CPU limits
![Page 14: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/14.jpg)
![Page 15: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/15.jpg)
![Page 16: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/16.jpg)
CLUSTER SCHEDULINGDistribute tasks across a cluster of hosts
Running in public cloud, private cloud, VMs or bare metal
HA and fault tolerant
With Docker support of course
![Page 17: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/17.jpg)
APACHE MESOS
A distributed systems kernel
![Page 18: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/18.jpg)
ALTERNATIVES
Docker Swarm / Kubernetes
![Page 19: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/19.jpg)
MESOSPHERE MARATHON
![Page 20: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/20.jpg)
TERRAFORM
![Page 21: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/21.jpg)
TERRAFORMresource "aws_instance" "worker" { count = 1 instance_type = "m3.large" ami = "ami-xxxxxx" key_name = "tiger-csanchez" security_groups = ["sg-61bc8c18"] subnet_id = "subnet-xxxxxx" associate_public_ip_address = true tags { Name = "tiger-csanchez-worker-1" "cloudbees:pse:cluster" = "tiger-csanchez" "cloudbees:pse:type" = "worker" } root_block_device { volume_size = 50 }}
![Page 22: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/22.jpg)
TERRAFORMState is managedRuns are idempotentterraform apply
Sometimes it is too automaticChanging image id will restart all instances
![Page 23: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/23.jpg)
![Page 24: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/24.jpg)
IF YOU HAVEN'T AUTOMATICALLYDESTROYED SOMETHING BY
MISTAKE,YOU ARE NOT AUTOMATING ENOUGH
![Page 26: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/26.jpg)
![Page 27: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/27.jpg)
![Page 28: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/28.jpg)
STORAGEHandling distributed storage
Servers can start in any host of the cluster
And they can move when they are restarted
![Page 29: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/29.jpg)
DOCKER VOLUME PLUGINSFlockerGlusterFSNFSEBS
![Page 30: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/30.jpg)
KUBERNETESGCE disksFlockerGlusterFSNFSEBS
![Page 31: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/31.jpg)
SIDEKICK CONTAINERA privileged container that manages mounting for other
containers
Can execute commands in the host and other containers
![Page 32: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/32.jpg)
A lot of magic happening with nsenter
![Page 33: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/33.jpg)
IN OUR CASESidekick container
Jenkins masters need persistent storage, build agents(typically) don't
Supporting EBS (AWS) and external NFS
![Page 34: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/34.jpg)
PERMISSIONSContainers should not run as root
Container user id != host user id
i.e. jenkins user in container is always 1000 but matchesubuntu user in host
![Page 35: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/35.jpg)
MEMORYScheduler needs to account for container memory
requirements and host available memory
Prevent containers for using more memory than allowed
Memory constrains translate to Docker --memory
![Page 36: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/36.jpg)
WHAT DO YOU THINK HAPPENSWHEN?
Your container goes over memory quota?
![Page 37: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/37.jpg)
![Page 38: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/38.jpg)
WHAT ABOUT THE JVM?WHAT ABOUT THE CHILD
PROCESSES?
![Page 39: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/39.jpg)
CPUScheduler needs to account for container CPU requirements
and host available CPUs
![Page 40: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/40.jpg)
WHAT DO YOU THINK HAPPENSWHEN?
Your container tries to access more than one CPU
Your container goes over CPU limits
![Page 41: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/41.jpg)
Totally different from memory
Mesos/Kubernetes CPU translates into Docker --cpu-shares
![Page 42: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/42.jpg)
NETWORKINGMultiple services running in the same ports
Must redirect from random ports in the host
Services running in one host need to access services in otherhosts
![Page 43: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/43.jpg)
NETWORKING: SERVICE DISCOVERYDNS is not great, caching can happen at multiple levels
marathon-lb uses haproxy and Marathon API
A typical nginx reverse proxy is also easy to setup
![Page 44: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/44.jpg)
NETWORKING: SOFTWARE DEFINEDNETWORKS
Create new custom networks on top of physical networks
Allow grouping containers in subnets
![Page 45: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/45.jpg)
NETWORKING: SOFTWARE DEFINEDNETWORKS
Battlefield: Calico, Flannel, Weave and Docker OverlayNetwork
http://chunqi.li/2015/11/15/Battlefield-Calico-Flannel-Weave-and-Docker-Overlay-Network/
![Page 46: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/46.jpg)
SCALINGNew and interesting problems
![Page 47: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/47.jpg)
LOGGINGRunning ElasticSearch as a cluster service, and the ELK stack
Docker configured to log to syslog
Logstash redirecting syslog to ElasticSearch
Embedded Kibana dashboard in CloudBees JenkinsOperations Center
![Page 48: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/48.jpg)
AWSResource limits: VPCs, S3 snapshots, some instance sizes
Rate limits: affect the whole account
Retrying is your friend, but with exponential backoff
![Page 49: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/49.jpg)
EMBRACE FAILURE!
![Page 50: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/50.jpg)
OPENSTACKCustom flavors
Custom images
Different CLI commands
There are not two OpenStack installations that are the same
![Page 51: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/51.jpg)
UPGRADES /MAINTENANCE
Moving containers from hosts
Draining hosts
Rolling updates
Blue/Green deployment
Immutable infrastructure
![Page 52: FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS · FROM MONOLITH TO DOCKER DISTRIBUTED APPLICATIONS Carlos Sanchez ... HA and fault tolerant ... NFS EBS. KUBERNETES GCE disks](https://reader031.fdocuments.in/reader031/viewer/2022021509/5b0a77797f8b9aba628c373d/html5/thumbnails/52.jpg)
THANKScsanchez.org
csanchez
carlossg