add zookeeper pod and service definition

pull/6/head
Matthew Farrellee 2015-03-02 14:34:16 -05:00
parent 148ce12b84
commit 29cabbaf9a
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,9 @@
{
"id": "zookeeper",
"kind": "Service",
"apiVersion": "v1beta1",
"port": 2181,
"containerPort": 2181,
"selector": { "name": "zookeeper" },
"labels": { "name": "zookeeper" }
}

View File

@ -0,0 +1,20 @@
{
"id": "zookeeper",
"kind": "Pod",
"apiVersion": "v1beta1",
"desiredState": {
"manifest": {
"version": "v1beta1",
"id": "zookeeper",
"containers": [{
"name": "zookeeper",
"image": "mattf/zookeeper",
"cpu": 100,
"ports": [{ "containerPort": 2181 }]
}]
}
},
"labels": {
"name": "zookeeper"
}
}