DevOps with
Azure Container Service

Javi moreno

@ciberado

CAPSiDE

@capside

Containers

CLUSTERS

mesos

+164 PARAMETERS

CONTAINER SERVICE

general architecture

al turrón!

launching clusters

deploying applications

set MASTER=%RESOURCE_GROUP%mgmt.westeurope.cloudapp.azure.com
set AGENTS=%RESOURCE_GROUP%agents.westeurope.cloudapp.azure.com

ssh -L 80:localhost:80 -N ciberado@%MASTER% -p 2200 

Administración          80

Docker Swarm     2375

Mesos     5050

Marathon     8080

Chronos     4400

ID: demo
CPU: 1
Memory: 1024
Disk: 0
Instances: 1
Image: capside/pokemon-java
Network: host
Accepted Resource Roles: slave_public

 

scaling up and down

azure group deployment create 
  --resource-group %RESOURCE_GROUP% 
  --template-uri https://raw.githubusercontent.com/gbowerman/azure-myriad/master/vmss-scale-in-or-out.json
curl -s http://localhost/marathon/v2/apps | prettyjson | grep instances
curl -X PUT -d "{ \"instances\": 3 }" 
     -H "Content-type: application/json" 
     http://localhost/marathon/v2/apps/azureday/v7

gotchas

@capside @ciberado

https://flickr.com/photos/latteda/

https://nasa.gov

Made with Slides.com