Runtime Extensions
Important
The
RuntimeSDKfeature flag must be set to true in order to use this feature; please check documentation of different set of hooks to check if additional feature flags are required. See Feature Gates for more details.
The Runtime SDK feature provides an extensibility mechanism that allows systems, products, and services built on top of Cluster API to hook into a workload cluster’s lifecycle.
Caution
Please note Runtime SDK is an advanced feature. If implemented incorrectly, a failing Runtime Extension can severely impact the Cluster API runtime.
Additional documentation:
- Background information:
- For Runtime Extension developers:
- For Cluster operators:
Changing the runtime hooks
Rules for Cluster API contributors changing runtime hooks:
- Breaking changes within the same version of runtime hooks are not allowed.
- A change to the runtime hooks must be discussed with the community (e.g. in an issue or a CAEP) and approved by maintainers first.
- Changes to runtime hooks must be reflected in the corresponding page in this section, in the same PR that implements them.
- Runtime hook changes must also be listed in the “Runtime hooks Changes” section of the migration doc for the next release.