containers&orchestration approaches
Post on 12-Jan-2017
105 views
Embed Size (px)
TRANSCRIPT
Containers & orchestration [email protected]_sezenDevOps Consultant / kloia
docker
Industry 3.0 of Software DevelopmentInfrastructure-as-code DevOps PracticeInfra Cost Optimisation(Storage/VM)Binary/Byte + Hosting/OS DependenciesIdentical dev-test-staging-prod...
ORCHESTRATORS
Docker 1.12
Swarm-mode: Orchestration built-in, Infra-agnosticCryptographic Node Security: Mutual TLS, Key rotation, Notary & TUFRouting Mesh: Service Discovery, Container native load-balancing, Works with current LB, IPVS
docker-Dev. Env.
Local Development EnvironmentLightweight vs. VagrantLocal vs. Prod identicalInfra-as-code DevOps practice
docker
https://github.com/docker/example-voting-app
Docker datacenter
On-premises & cloudUCP (Universal Control Plane): Deploy&Manage AppsDocker Trusted Registry: Secure Images
Docker datacenter - deploy?
Set ENV for remote deploy:DOCKER_HOST=tcp://kloiaclbpiplabel.westeurope.cloudapp.azure.com:443DOCKER_TLS_VERIFY=1DOCKER_CERT_PATH=/Users/dsezen/code/example-voting-app/ucpConvert docker-compose.yml to dab:docker-compose bundleDeploy via cli: (Beta version - experimental feature)docker deploy votingappdocker
Mesos
Apache Foundation ProjectC++Uber, Samsung, Verizon, Autodesk, Azure, Twitter, Airbnb, Yelp, Ebay, Apple
Mesos - marathon
Orchestration - DeployScalaService DiscoveryEvent SubscriptionDocker natively supported
Mesos - OTHER
Chronos: Java, Replacement for cronAurora: Twitter, Marathon + ChronosMesosphere: DC/OS
Mesos - DC/OS
DataCenter Operating System abstracts resources such as CPU, RAM, and networkingDistributed Operating System based on the Apache Mesos Embedded Marathon, Chronos#dcos package install spark#dcos cluster resize 100
Mesos - DC/OS - deploy?
dcos cli:dcos marathon group add votingapp.jsonREST API:curl -X POST http://10.141.141.10:8080/v2/apps -d @basic-3.json -H "Content-type: application/json"
rancher
Orchestration-agnostic: Swarm, Kubernetes, Mesos, CattleInfra-agnostic: on-premises, public-cloudOpen Source
questions?