Migration to multicontainer pod

Change-Id: Ic8f49dd570425fb8dcbf82911b8bb02ec5b90703
This commit is contained in:
Sergey Reshetnyak 2016-06-24 14:16:35 +03:00
parent 4fc9c96692
commit 61749565b2
1 changed files with 19 additions and 17 deletions

View File

@ -1,23 +1,25 @@
service:
name: rabbitmq
ports:
- rabbitmq_port
container:
node-selector:
openstack-controller: "true"
probes:
name: rabbitmq
ports:
- rabbitmq_port
node-selector:
openstack-controller: "true"
containers:
- name: rabbitmq
image: rabbitmq
probes:
readiness: "true"
liveness: "true"
daemon:
daemon:
files:
- rabbitmq-conf
- erlang-cookie
- rabbitmq-conf
- erlang-cookie
command: rabbitmq-server
files:
rabbitmq-conf:
path: /etc/rabbitmq/rabbitmq.config
content: rabbitmq.config.j2
erlang-cookie:
path: /var/lib/rabbitmq/.erlang.cookie
content: erlang.cookie
perm: "400"
rabbitmq-conf:
path: /etc/rabbitmq/rabbitmq.config
content: rabbitmq.config.j2
erlang-cookie:
path: /var/lib/rabbitmq/.erlang.cookie
content: erlang.cookie
perm: "400"