Skip to content

Commit fe5001b

Browse files
authored
Merge pull request #10594 from shiftstack/termination-provider-doc
📖 Document terminationMessagePolicy suggestion for providers
2 parents b622b9e + cc9a480 commit fe5001b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/book/src/developer/providers/migrations/v1.7-to-v1.8.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ maintainers of providers and consumers of our Go API.
1818
### Other
1919

2020
### Suggested changes for providers
21+
22+
- From Cluster API v1.7 the manager pods are created with `terminationMessagePolicy` set to `FallbackToLogsOnError` for the manager container. This offers the chance that the pod's termination message will contain something useful if the manager exits unexpectedly, which in turn makes debugging easier. We also recommend this setting to provider managers. For an example, see the corresponding change in [CAPV](https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/pull/2988) or [CAPO](https://github.com/kubernetes-sigs/cluster-api-provider-openstack/pull/2070).

0 commit comments

Comments
 (0)