Browse Source

Migrate liveness probes to new format

Change-Id: I6e0ce439a139b93808f917558f15620a65296ae3
Depends-On: I920029d4cb14981427e7f978778506fb0b69c435
changes/17/387317/3
Aleksandr Mogylchenko 2 years ago
parent
commit
4b296c080a
2 changed files with 6 additions and 2 deletions
  1. 3
    1
      service/heat-api.yaml
  2. 3
    1
      service/heat-engine.yaml

+ 3
- 1
service/heat-api.yaml View File

@@ -8,7 +8,9 @@ service:
8 8
       # TODO(drusskikh): add probes
9 9
       probes:
10 10
         readiness: "true"
11
-        liveness: "true"
11
+        liveness:
12
+          command: "true"
13
+          type: "exec"
12 14
       pre:
13 15
         - name: heat-db-create
14 16
           dependencies:

+ 3
- 1
service/heat-engine.yaml View File

@@ -6,7 +6,9 @@ service:
6 6
       # TODO(drusskikh): add probes
7 7
       probes:
8 8
         readiness: "true"
9
-        liveness: "true"
9
+        liveness:
10
+          command: "true"
11
+          type: "exec"
10 12
       daemon:
11 13
         command: heat-engine --config-file /etc/heat/heat.conf
12 14
         dependencies:

Loading…
Cancel
Save