Browse Source

Migration to multicontainer pod

Change-Id: Ic8f49dd570425fb8dcbf82911b8bb02ec5b90703
Sergey Reshetnyak 2 years ago
parent
commit
61749565b2
1 changed files with 19 additions and 17 deletions
  1. 19
    17
      service/rabbitmq.yaml

+ 19
- 17
service/rabbitmq.yaml View File

@@ -1,23 +1,25 @@
1 1
 service:
2
-    name: rabbitmq
3
-    ports:
4
-        - rabbitmq_port
5
-    container:
6
-        node-selector:
7
-            openstack-controller: "true"
8
-    probes:
2
+  name: rabbitmq
3
+  ports:
4
+    - rabbitmq_port
5
+  node-selector:
6
+    openstack-controller: "true"
7
+  containers:
8
+    - name: rabbitmq
9
+      image: rabbitmq
10
+      probes:
9 11
         readiness: "true"
10 12
         liveness: "true"
11
-    daemon:
13
+      daemon:
12 14
         files:
13
-            - rabbitmq-conf
14
-            - erlang-cookie
15
+          - rabbitmq-conf
16
+          - erlang-cookie
15 17
         command: rabbitmq-server
16 18
 files:
17
-    rabbitmq-conf:
18
-        path: /etc/rabbitmq/rabbitmq.config
19
-        content: rabbitmq.config.j2
20
-    erlang-cookie:
21
-        path: /var/lib/rabbitmq/.erlang.cookie
22
-        content: erlang.cookie
23
-        perm: "400"
19
+  rabbitmq-conf:
20
+    path: /etc/rabbitmq/rabbitmq.config
21
+    content: rabbitmq.config.j2
22
+  erlang-cookie:
23
+    path: /var/lib/rabbitmq/.erlang.cookie
24
+    content: erlang.cookie
25
+    perm: "400"

Loading…
Cancel
Save