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: service:
name: rabbitmq name: rabbitmq
ports: ports:
- rabbitmq_port - rabbitmq_port
container: node-selector:
node-selector: openstack-controller: "true"
openstack-controller: "true" containers:
probes: - name: rabbitmq
image: rabbitmq
probes:
readiness: "true" readiness: "true"
liveness: "true" liveness: "true"
daemon: daemon:
files: files:
- rabbitmq-conf - rabbitmq-conf
- erlang-cookie - erlang-cookie
command: rabbitmq-server command: rabbitmq-server
files: files:
rabbitmq-conf: rabbitmq-conf:
path: /etc/rabbitmq/rabbitmq.config path: /etc/rabbitmq/rabbitmq.config
content: rabbitmq.config.j2 content: rabbitmq.config.j2
erlang-cookie: erlang-cookie:
path: /var/lib/rabbitmq/.erlang.cookie path: /var/lib/rabbitmq/.erlang.cookie
content: erlang.cookie content: erlang.cookie
perm: "400" perm: "400"