Provider contract
The Cluster API contract defines a set of rules a provider is expected to comply with in order to interact with Cluster API. Those rules can be in the form of CustomResourceDefinition (CRD) fields and/or expected behaviors to be implemented.
Different rules apply to each provider type and for each different resource that is expected to interact with “core” Cluster API.
-
Infrastructure provider
- Contract rules for InfraCluster resource
- Contract rules for InfraMachine resource
- Contract rules for InfraMachinePool resource (TODO)
-
Bootstrap provider
- Contract rules for BootstrapConfig resource
-
Control plane provider
- Contract rules for ControlPlane resource
-
IPAM provider
- Contract rules for IPAM resource (TODO)
-
Addon Providers
-
Runtime Extensions Providers
Additional rules must be considered for a provider to work with the clusterctl CLI.
Improving and contributing to the contract
The definition of the contract between Cluster API and providers may be changed in future versions of Cluster API. The Cluster API maintainers welcome feedback and contributions to the contract in order to improve how it’s defined, its clarity and visibility to provider implementers and its suitability across the different kinds of Cluster API providers. To provide feedback or open a discussion about the provider contract please open an issue on the Cluster API repo or add an item to the agenda in the Cluster API community meeting.