add zookeeper pod and service definition
This commit is contained in:
parent
15a46ae14b
commit
d59f65e1bb
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"id": "zookeeper",
|
||||||
|
"kind": "Service",
|
||||||
|
"apiVersion": "v1beta1",
|
||||||
|
"port": 2181,
|
||||||
|
"containerPort": 2181,
|
||||||
|
"selector": { "name": "zookeeper" },
|
||||||
|
"labels": { "name": "zookeeper" }
|
||||||
|
}
|
|
@ -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"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue