Hosts • Swarm Controller • Multi Host and Multi Container Applications • Seamless Networking • Communication Between Services • Orchestration and Clustering • Control of Containers • Container Management Copyright 2015 by Cloudsoft Corporation Limited
Application • Brooklyn Location • What does it provide? • First Class Docker Support in Brooklyn • Optimized Brooklyn Blueprints for Docker • Container Orchestration Copyright 2015 by Cloudsoft Corporation Limited
Driver • Written by @turlinux • Virtual Container • Using SSH Daemon or native Docker • Same ComputeNode abstraction as VM • Can use any Image or Dockerfile Copyright 2015 by Cloudsoft Corporation Limited
• List of Services • NoSQL Database Clusters • Web Servers and Load Balancers • Shell or Python Scripts • Tree Structure • Sensors, Effectors and Policies Copyright 2015 by Cloudsoft Corporation Limited
Docker Engine on Cloud VM or Bare Metal • Configuration for Host • TLS Certificates • Setup Volumes • Logging • Install SDN Agents • Manage Capacity or Headroom Copyright 2015 by Cloudsoft Corporation Limited
as First-Class Service Type –Placement Strategies for Containers –Create Docker Images and Networks • Manages Docker Engine and Swarm –Deployment and Management –Installation and Configuration –Software-Defined Networking Copyright 2015 by Cloudsoft Corporation Limited
–TOSCA and Compose in Development –Same as Core Brooklyn • Mixed Destinations –Some Virtual Machines –Some Bare Metal –Some Containers Copyright 2015 by Cloudsoft Corporation Limited
Brooklyn or Dockerfile • Common to all Entity Instances • Commit Image • Available for next Entity • Push Image • Available for all Hosts Copyright 2015 by Cloudsoft Corporation Limited
Breadth First • CPU or Memory Usage • Memory, CPU or Container Limits • Geographic Constraints • User Defined • Java Predicate Copyright 2015 by Cloudsoft Corporation Limited
to Host Communication • Same LAN Segment • No Port Forwarding • Natural Application Configuration • Initial Driver was EPMD Applications Copyright 2015 by Cloudsoft Corporation Limited
etc. • Similar to Hypervisor in Clouds • Generic Interfaces • Host Component • Service Component (or Endpoint) Copyright 2015 by Cloudsoft Corporation Limited
and Containers • Layer 3 (with adorable kittens) • Uses OS IP routing and forwarding • Configuration in an etcd Cluster • Version 0.4 now available • Uses profiles for container ACLs • Spans VMs and Containers • OpenStack Neutron network driver Copyright 2015 by Cloudsoft Corporation Limited
Clocker Controls Subnet Allocation • Applications Segmented by CIDR • Delegate to SDN or Cloud • Bring your own IP • Both Weave and Calico offer this now Copyright 2015 by Cloudsoft Corporation Limited
• Cross Platform SDN • Both VMs and Containers on one VLAN • Name Resolution • Contributing to Weave DNS for orchestration • Use traditional external BIND service entity Copyright 2015 by Cloudsoft Corporation Limited
a Virtual Network or Subnet • Looks for NetworkProvisioningExtension • Registered in DockerLocation by SDN Provider • Also defined with JcloudsLocation for OpenStack • Part of Application Blueprint Copyright 2015 by Cloudsoft Corporation Limited
Sensible Defaults • Also SDN or Cloud Specific Configuration, e.g. Calico or OpenStack • Allocate Address Space on Demand -‐ type: brooklyn.networking.OpenStackVirtualNetwork networkId: database-‐net cidr: 192.168.34.0/24 -‐ type: brooklyn.networking.VirtualNetwork networkId: couchbase-‐net Copyright 2015 by Cloudsoft Corporation Limited
-‐ couchbase-‐net -‐ management-‐net • Create Networks as Required • Also Attach to VMs and Metal • Only supported with Calico at present Copyright 2015 by Cloudsoft Corporation Limited
• Automated attachment of containers to multiple dynamic networks • Brooklyn application blueprints with network topology Copyright 2015 by Cloudsoft Corporation Limited Features
• Read-only containers • Named Dockerfiles • Swarm • Native API for access to managed Docker Cloud • Clocker as an extension to Swarm using Powerstrip • Docker Registry Copyright 2015 by Cloudsoft Corporation Limited New Features
Alpine base distribution • Getting Started • Dockerfile and images on Docker Hub • Vagrantfile for local or remote VMs Copyright 2015 by Cloudsoft Corporation Limited New Features
labels to decide where to run • More than one Cloud provider (modulo SDN) • Better Native Docker Support • No more SSH per container • Minimize images with Alpine • Cross-target Applications • Virtual Machine and Container services Copyright 2015 by Cloudsoft Corporation Limited
• Provide Mesos as another Brooklyn endpoint • Container Mobility • Stateless Services • Defined in Blueprint • Brooklyn Core Integration Copyright 2015 by Cloudsoft Corporation Limited
• Application Definition • Docker Compose via Application Definition WG • Networking • Weave DNS Integration • Kubernetes Support Copyright 2015 by Cloudsoft Corporation Limited