From 6bf499e51520af42c1572f17ec0bb2e2124f16cf Mon Sep 17 00:00:00 2001 From: Matthew Farrellee Date: Mon, 2 Mar 2015 14:55:34 -0500 Subject: [PATCH] add nimbus pod and service definition --- examples/storm/storm-nimbus-service.json | 9 +++++++++ examples/storm/storm-nimbus.json | 20 ++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 examples/storm/storm-nimbus-service.json create mode 100644 examples/storm/storm-nimbus.json diff --git a/examples/storm/storm-nimbus-service.json b/examples/storm/storm-nimbus-service.json new file mode 100644 index 00000000000..960de4694bd --- /dev/null +++ b/examples/storm/storm-nimbus-service.json @@ -0,0 +1,9 @@ +{ + "id": "nimbus", + "kind": "Service", + "apiVersion": "v1beta1", + "port": 6627, + "containerPort": 6627, + "selector": { "name": "nimbus" }, + "labels": { "name": "nimbus" } +} diff --git a/examples/storm/storm-nimbus.json b/examples/storm/storm-nimbus.json new file mode 100644 index 00000000000..a1376c8f187 --- /dev/null +++ b/examples/storm/storm-nimbus.json @@ -0,0 +1,20 @@ +{ + "id": "nimbus", + "kind": "Pod", + "apiVersion": "v1beta1", + "desiredState": { + "manifest": { + "version": "v1beta1", + "id": "nimbus", + "containers": [{ + "name": "nimbus", + "image": "mattf/storm-nimbus", + "cpu": 100, + "ports": [{ "containerPort": 6627 }] + }] + } + }, + "labels": { + "name": "nimbus" + } +}