-
Notifications
You must be signed in to change notification settings - Fork 64
Adding Clocker to a Brooklyn catalog
Sam Corbett edited this page Feb 5, 2015
·
1 revision
Clocker can be added to the catalog of existing Brooklyn servers.
The catalog entry requires the following bundles be included:
- brooklyn-clocker-docker
- brooklyn-clocker-examples
- brooklyn-networking-common
- brooklyn-networking-portforwarding
- guava
Add a blueprint along these lines to your catalog. You may need to change the library URLs if you do not have the artifacts installed to your local Maven repository. See Brooklyn's documentation for instructions on adding catalog entries.
services:
- type: brooklyn.entity.basic.BasicApplication
brooklyn.children:
- type: brooklyn.clocker.DockerCloud
brooklyn.catalog:
id: docker-cloud
version: 1.0
displayName: Clocker
libraries:
- name: io.brooklyn.clocker.brooklyn-clocker-docker
version: 0.8.0.SNAPSHOT
url: file://~/.m2/repository/io/brooklyn/clocker/brooklyn-clocker-docker/0.8.0-SNAPSHOT/brooklyn-clocker-docker-0.8.0-SNAPSHOT.jar
- name: io.brooklyn.clocker.brooklyn-clocker-examples
version: 0.8.0.SNAPSHOT
url: file://~/.m2/repository/io/brooklyn/clocker/brooklyn-clocker-examples/0.8.0-SNAPSHOT/brooklyn-clocker-examples-0.8.0-SNAPSHOT.jar
- name: io.brooklyn.networking.brooklyn-networking-common
version: 0.7.0.SNAPSHOT
url: file://~/.m2/repository/io/brooklyn/networking/brooklyn-networking-common/0.7.0-SNAPSHOT/brooklyn-networking-common-0.7.0-SNAPSHOT.jar
- name: io.brooklyn.networking.brooklyn-networking-portforwarding
version: 0.7.0.SNAPSHOT
url: file://~/.m2/repository/io/brooklyn/networking/brooklyn-networking-portforwarding/0.7.0-SNAPSHOT/brooklyn-networking-portforwarding-0.7.0-SNAPSHOT.jar
- name: com.google.guava
version: 17.0.0
url: file://~/.m2/repository/com/google/guava/guava/17.0/guava-17.0.jarOnce such a blueprint has been registered you can deploy Clocker clouds via Brooklyn's add-application wizard or by submitting YAML like:
name: Clocker
location: jclouds:softlayer:ams01
services:
- type: docker-cloud
brooklyn.config:
docker.container.cluster.minSize: 3Copyright 2014-2015 by Cloudsoft Corporation and licensed under CC-BY-SA 4.0
