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
280
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
250
Building a Blockchain
grkvlt
1
100
Blockchain and Brooklyn
grkvlt
0
140
Hyperledger in Action
grkvlt
1
130
Keeping OpenShift Evergreen
grkvlt
0
110
Orchestrating the Blockchain Using Containers
grkvlt
0
170
Introducing Cloudsoft Container Service
grkvlt
0
61
Managing Blockchain Applications with Hyperledger and Docker on Cloudsoft AMP
grkvlt
0
320
Multi-Container Applications Spanning Docker, Mesos and OpenStack
grkvlt
2
810
Other Decks in Technology
See All in Technology
エンジニアの育成を支える爆速フィードバック文化
sansantech
PRO
3
660
Postmanを使いこなす!2025年ぜひとも押さえておきたいPostmanの10の機能
nagix
2
120
テストアーキテクチャ設計で実現する高品質で高スピードな開発の実践 / Test Architecture Design in Practice
ropqa
3
710
APIファーストで実現する運用性の高い IoT プラットフォーム: SORACOMのアプローチ
soracom
PRO
0
240
転生CISOサバイバル・ガイド / CISO Career Transition Survival Guide
kanny
2
390
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
1
240
Moved to https://speakerdeck.com/toshihue/presales-engineer-career-bridging-tech-biz-ja
toshihue
2
550
組織貢献をするフリーランスエンジニアという生き方
n_takehata
1
1k
Bounded Context: Problem or Solution?
ewolff
1
210
Larkご案内資料
customercloud
PRO
0
600
事業継続を支える自動テストの考え方
tsuemura
0
300
プロセス改善による品質向上事例
tomasagi
1
1.6k
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
31
2.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Building an army of robots
kneath
302
45k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Building Your Own Lightsaber
phodgson
104
6.2k
GraphQLとの向き合い方2022年版
quramy
44
13k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
6
240
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
114
50k
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/