Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Clocker Evolution
Search
Andrew Kennedy
September 09, 2014
Technology
3
290
Clocker Evolution
Presented at SVDevOps meetup, September 2014
Andrew Kennedy
September 09, 2014
Tweet
Share
More Decks by Andrew Kennedy
See All by Andrew Kennedy
Building a Blockchain Platform with Hyperledger Sawtooth and Seth
grkvlt
1
290
Building a Blockchain
grkvlt
1
110
Blockchain and Brooklyn
grkvlt
0
160
Hyperledger in Action
grkvlt
1
140
Keeping OpenShift Evergreen
grkvlt
0
120
Orchestrating the Blockchain Using Containers
grkvlt
0
180
Introducing Cloudsoft Container Service
grkvlt
0
64
Managing Blockchain Applications with Hyperledger and Docker on Cloudsoft AMP
grkvlt
0
330
Multi-Container Applications Spanning Docker, Mesos and OpenStack
grkvlt
2
820
Other Decks in Technology
See All in Technology
バクラクの AI-BPO を支える AI エージェント 〜とそれを支える Bet AI Guild〜
tomoaki25
2
630
AIでテストプロセスを自動化しよう251113.pdf
sakatakazunori
0
110
コード1ミリもわからないけど Claude CodeでFigjamプラグインを作った話
abokadotyann
1
160
CloudFormationコンソールから、実際に作られたリソースを辿れるようになろう!
amixedcolor
1
170
CodexでもAgent Skillsを使いたい
gotalab555
9
4.4k
Flutterコントリビューションのススメ
d_r_1009
1
350
レビュー負債を解消する ― CodeRabbitが支えるAI駆動開発
moongift
PRO
0
140
CDKの魔法を少し解いてみる ― synth・build・diffで覗くIaCの裏側 ―
takahumi27
1
140
これからアウトプットする人たちへ - アウトプットを支える技術 / that support output
soudai
PRO
17
5.3k
AIを前提に、業務を”再構築”せよ IVRyの9ヶ月にわたる挑戦と未来の働き方 (BTCONJP2025)
yueda256
1
140
はじめての OSS コントリビューション 〜小さな PR が世界を変える〜
chiroito
3
160
機密情報の漏洩を防げ! Webフロントエンド開発で意識すべき漏洩パターンとその対策
mizdra
PRO
7
1.8k
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
127
54k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
192
56k
We Have a Design System, Now What?
morganepeng
54
7.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Transcript
Clocker Evolu,on Andrew Kennedy, SVDevOps, 09 September 2014
Introduc>on • Andrew Kennedy – CloudsoA –
SoAware Engineer – Open Source and Java – Cloud Technologies • Overview – Docker – Brooklyn – Clocker
Docker • Popular – Huge Ecosystem –
Growing • Some Pain Points – Networking – Orchestra>on – Applica>ons
Docker
Brooklyn • Brooklyn – Applica>on Management PlaPorm
– Autonomic Compu>ng • Applica>on Blueprint – Services (En>>es) – Configura>on – ATributes (Sensors) – Ac>ons (Effectors)
Brooklyn • Deploy – Provisioning – Download
– Install – Configure • Manage – ATributes – Policies – Ac>ons
Brooklyn Blueprint id: nodejs-‐hello-‐world-‐application name: "Node.JS Hello World
Application" origin: "https://github.com/grkvlt/node-‐hello-‐world.git/" locations: -‐ jclouds:softlayer:ams01 services: -‐ serviceType: brooklyn.entity.webapp.nodejs.NodeJsWebAppService id: nodejs name: "Node.JS" brooklyn.config: gitRepoUrl: "https://github.com/grkvlt/node-‐hello-‐world.git" appFileName: app.js appName: node-‐hello-‐world
Brooklyn En>>es • Service (Micro?) • Many OSS
and ASF Projects – Couchbase – Cassandra – Tomcat – Solr • Control Servers via SSH • Control En>>es via Effectors
Clocker • Brooklyn plus Docker • Docker Host
– Docker Engine Installa>on – REST API Access Using jclouds 1.8.0 Docker Driver – Virtual Machine Access Using SSH – Cluster of Containers • Docker Container – Running Services and Commands for En>ty – Dockerfiles
Clocker
Clocker • Demand Side – Create a New
Container – Resize Cluster of En>>es – AutoScaler Policy ATached to Cluster • Supply Side – Placement Strategies for Containers – Depth or Breadth First – Affinity Rules – Resource Alloca>on (CPU Shares, Load, Memory, …)
Clocker • Applica>on Deployment – CAMP Blueprint in
YAML – Java Classes – Mostly Unchanged • Docker Specific Configura>on – Affinity Rules or Placement Strategy – Dockerfile or Image ID – CPU or Memory Shares – Docker Volumes
Demonstra>on Deploying Applica>ons on Clocker
Clocker Evolu>on • Three Months • Simple Applica>ons
– Tomcat – Node.JS – Ac>veMQ • Strengthening Core • Docker Driver for jclouds – More Features
Limita>ons
Limita>ons • Docker – Seamless Mul> Host Networking
• Clocker – Complex Applica>on Requirements – Not just a VM and a service… • Features – Requests from Users?
Clocker Roadmap • Orchestra>on – Placement Strategy
• More Intelligence – Need 32GiB Container? – Need 32 1GiB Containers per Host? – One Core? – 16 Cores? • User Defined Strategies
Clocker Roadmap • Applica>on Defini>ons – Use YAML
Blueprints – Include Dockerfiles and Images – Docker Hub – Third Party Repositories – Enterprise Repositories • Other Defini>ons
Clocker Roadmap • Networking – Mul>ple Hosts
– Mul>ple Clouds? • Communica>on – Port Forwarding – Doesn’t Always Work • SoAware Defined Networking – Weave
Clocker Roadmap • Integra>ons – Kubernetes –
Fig – libswarm – Decking – Panamax – Stampede – Others?
Summary • Docker Containers – En>>es are Micro
Services • Limita>ons – Mul>ple Hosts and Networking • Clocker Solu>ons – Applica>on Blueprints – Orchestra>on – Networking
Project • GitHub – brooklyncentral/clocker – Java
Code – Apache 2.0 Licensed • Contribu>ons – Blueprints? – Integra>ons? – Documenta>on? – Tes>ng?
Audience Ques>ons • Where do you see Docker networking
going? • What about orchestra>on? • What features would be most useful to enhance Docker usability?
Thanks • Ques>ons?
Web Resources http://clocker.io/ http://brooklyn.io/ http://docker.io/ http://github.com/zettio/weave/
http://abstractvisitorpattern.co.uk/