Skip to content

Commit fd7ec6f

Browse files
committed
add example to migration instructions
1 parent e546681 commit fd7ec6f

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

changelog/fragments/1036-ansible-liveness.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,17 @@ entries:
3030
# Migration can be defined to automatically add a section to
3131
# the migration guide. This is required for breaking changes.
3232
migration:
33-
header: Header text for the migration section
33+
header: **(Optional for Ansible-base operators)** Add livenessProbe check
3434
body: >
3535
Existing operators will have a healthz endpoint without intervention,
3636
but to take advantage of it, a liveness probe should be manually added
37-
to the operator manifest.
37+
to the operator manifest. For example, the `deploy/operator.yaml` file would need to include:
38+
39+
```yaml
40+
livenessProbe:
41+
httpGet:
42+
path: /healthz
43+
port: 6789
44+
initialDelaySeconds: 5
45+
periodSeconds: 3
46+
```

0 commit comments

Comments
 (0)