10. @grkvlt
What does it do?
1. Spins up and Manages Docker
Clusters in the Clouds
2. Serves up Containers on Demand
3. Manages Composite Application
Deployments
Copyright 2015 by Cloudsoft Corporation Limited
11. @grkvlt
What does it provide?
• Infrastructure Management
• Docker Hosts
• Swarm Controller
• Multi Host and Multi Container Applications
• Seamless Networking
• CommunicationBetween Services
• Orchestration and Clustering
• Control of Containers
• Container Management
Copyright 2015 by Cloudsoft Corporation Limited
12. @grkvlt
Clocker and Brooklyn Summary
• What is it?
• Brooklyn 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
14. @grkvlt
Brooklyn Blueprints
• Describe Applications
• OASIS CAMP Standard
• TOSCA and Compose in Development
• List of Services
• NoSQL Database Clusters
• Web Servers and Load Balancers
• Shell or Python Scripts
• Targeting Multiple Destinations
• VM, Container,Bare Metal
• Sensors, Effectorsand Policies
Copyright 2015 by Cloudsoft Corporation Limited
15. @grkvlt
Application Management
• Sensors
• Data from Services
• Effectors
• Brooklyn Policies
• Attached to Entities in Application
• Nothing Docker Specific
• ElasticScaling and Cluster Resizing
• Service Resilience and Replacement
Copyright 2015 by Cloudsoft Corporation Limited
20. @grkvlt
Docker Cloud
• Brooklyn Blueprint for Docker Cluster
• 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
21. @grkvlt
Headroom
• Ensure resources available
• Based on MaxContainersstrategy limit
• Or Percentage Utilisation
• Or CPU and RAM allocation
• Scale Docker Host Cluster Automatically
• Add new Docker hosts
• Remove emptyDocker hosts
Copyright 2015 by Cloudsoft Corporation Limited
24. @grkvlt
Clocker Features
• Docker Extensions to Brooklyn
–Docker Image as First-Class Service Type
–Placement Strategiesfor 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
25. @grkvlt
Container Management
• Sources
• Docker Image Definition
• Docker Hub or Registry
• Dockerfile
• Brooklyn EntityDefinition
• Create Image Automatically
• Commit or Push for Reuse
Copyright 2015 by Cloudsoft Corporation Limited
28. @grkvlt
Software-Defined Networking
• Needed for Seamless Provisioning
• Host to Host Communication
• Same LAN Segment
• No Port Forwarding
• NaturalApplication Configuration
• Initial Driver was EPMD Applications
• Useful for any opinionated applications
Copyright 2015 by Cloudsoft Corporation Limited
29. @grkvlt
Networking Providers
• Implementation Agnostic
• L2 overlay,L3 routing etc.
• Similarto Hypervisorin Clouds
• Generic Interfaces
• Host Component
• Service Component (or Endpoint)
• Same idea as Docker Network Plugins
Copyright 2015 by Cloudsoft Corporation Limited
30. @grkvlt
Networking Capabilities
• Attach Containers to Networks
• Create Networksas Required
• Also Attachto VMs and Metal
• Provide Multiple Networks
• Per-Applicationor Shared
• Segmented PrivateAddress Space
• Docker Port Forwarding for Ingress
Copyright 2015 by Cloudsoft Corporation Limited
31. @grkvlt
Network Provisioning
• Minimal (Zero!)Configuration
• Use Sensible Defaults
• Allows SDN or Cloud SpecificConfiguration
• Allocate Address Space on Demand
• IP Pool Controlled byClocker
-‐ type: brooklyn.networking.VirtualNetwork
networkId: database-‐net
cidr: 192.168.34.0/24
gateway: 192.168.34.1
dnsServers:
-‐ $brooklyn:entity("bind-‐server").attributeWhenReady("host.address")
addIptablesRules: true
-‐ type: brooklyn.networking.OpenStackVirtualNetwork
networkId: couchbase-‐net
Copyright 2015 by Cloudsoft Corporation Limited
33. @grkvlt
Metaswitch Project Calico
• SDN for Bare Metal, VMs and Containers
• Layer 3
• Uses OS IP routing and forwarding
• Configuration in an etcd Cluster
• Version 0.4.9 in Clocker
• 0.6.0 with libnetwork when Docker stable
• Spans VMs and Containers
• OpenStack Neutron network driver
Copyright 2015 by Cloudsoft Corporation Limited
35. @grkvlt
Networking Capabilities
• Wide Area and Multi Region SDN
• VPN or IPIP and NAT configuration
• Cross Platform SDN
• Both VMs and Containers on one VLAN
• Name Resolution and Service Discovery
• Contributing to Weave DNS for orchestration
• Use traditional external BIND service entity
• Brooklyn can inject correctendpointaddress
Copyright 2015 by Cloudsoft Corporation Limited
42. @grkvlt
• Orchestrated Docker deployment and
configuration, with Project CalicoSDN
• Brooklyn applicationblueprints deployed with
network topology linked to OpenStack using
Project Calico
• Automated attachment of containers to multiple
dynamic networks
• Zero Config Multi-Target Deployment
Copyright 2015 by Cloudsoft Corporation Limited
Features