Continuous delivery uses practices like Docker, Jenkins, and Mesos/Marathon to ensure code changes can be rapidly and safely deployed to production. Docker provides containerization which allows fast and robust deployment using images. Jenkins can be configured with plugins to build, test, and deploy Docker images to a Mesos/Marathon cluster for production. Mesos/Marathon provide scalability, fault tolerance, and resource sharing across frameworks and applications in a cluster.
Report
Share
Report
Share
1 of 46
Download to read offline
More Related Content
Continuous delivery with Jenkins, Docker and Mesos/Marathon - jbcnconf
1. CONTINUOUS DELIVERY
WITH JENKINS, DOCKER
AND MARATHON/MESOS
Julia Mateo
@juliamateodc
@duchessswiss http://jduchess.ch/
Monday, June 29, 15
3. CONTINUOUS DEPLOYMENT
VS CONTINUOUS DELIVERY
• Continuous delivery : series of practices designed to ensure that
code can be rapidly and safely deployed to production
• Continuous deployment is the next step of continuous delivery:
Every change that passes the automated tests is deployed to
production automatically
Monday, June 29, 15
8. TO SUM UP :
• Simple : container as deployment unit
• Fast : Only need to build/upload the ∆ image
• Robust : less scope of error than custom deployment scripts
• Other advantages : docker facilitates fast rollback
Monday, June 29, 15
9. FIRST STEP : DEPLOYTO
ONE NODE
Monday, June 29, 15
32. • Abstraction of cluster resources
• Share resources across multiple frameworks (versions of the
same fwk)
• Resource fair sharing : alternative to static partitioning
• Data locality
What is Mesos ?
Monday, June 29, 15
34. HOW DOES IT WORK ?
http://mesos.apache.org/documentation/latest/mesos-architecture/
Monday, June 29, 15
35. USING MARATHON WITH
MESOS
• Marathon is a Mesos framework written in Scala
• Provides easy deployment of Docker containers
• Manages of long running apps
• Rest API for developers
Monday, June 29, 15
43. FEEDBACK FROM DEVELOPER
PERSPECTIVE
• Many technologies in a short time : ansible, docker, mesos,
marathon..
• All of them are quite recent technologies
Monday, June 29, 15