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
260
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
190
Building a Blockchain
grkvlt
1
92
Blockchain and Brooklyn
grkvlt
0
93
Hyperledger in Action
grkvlt
1
130
Keeping OpenShift Evergreen
grkvlt
0
100
Orchestrating the Blockchain Using Containers
grkvlt
0
170
Introducing Cloudsoft Container Service
grkvlt
0
57
Managing Blockchain Applications with Hyperledger and Docker on Cloudsoft AMP
grkvlt
0
310
Multi-Container Applications Spanning Docker, Mesos and OpenStack
grkvlt
2
780
Other Decks in Technology
See All in Technology
A (short) History of AI
harishpillay
0
110
スタートアップの技術顧問を3年間続けて発生した事と気付き
biwakonbu
0
150
少数チームで挑む: SwiftUI, TCA, KMPを用いた 新規動画配信アプリ 「ABEMA Live」の開発について
tomu28
0
530
ここが嬉しいABAC ここが辛いよABAC #再解説+補足編
masahirokawahara
0
210
4年前、あるじゃん老害エンジニアLT合戦に登壇、米国西海岸コンピュータ歴史博物館体験記の続編
toshi_atsumi
0
190
アプリがつくるNOT A HOTELブランド
hokuts
1
450
NgRx Signal Store
rainerhahnekamp
0
110
ユーザーストーリーのレビューを自動化したみたの
bun913
1
310
HEXA OSINT CTF V3 作戦会議
meow_noisy
0
110
SREとその組織類型
tatsuo48
8
1.5k
「手動オペレーションに定評がある」と言われた私が心がけていること / phpcon_odawara2024
blue_goheimochi
2
320
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
2
690
Featured
See All Featured
Being A Developer After 40
akosma
56
580k
10 Git Anti Patterns You Should be Aware of
lemiorhan
646
57k
It's Worth the Effort
3n
180
27k
Rails Girls Zürich Keynote
gr2m
91
13k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
13
1.5k
How to Ace a Technical Interview
jacobian
272
22k
The Invisible Customer
myddelton
114
12k
Code Review Best Practice
trishagee
54
15k
The Pragmatic Product Professional
lauravandoore
24
5.8k
Building Your Own Lightsaber
phodgson
98
5.7k
The Brand Is Dead. Long Live the Brand.
mthomps
48
28k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
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/