Cluster API Addon Provider Fleet
Overview
Cluster API Add-on Provider for Fleet (CAAPF) is a Cluster API (CAPI) provider that provides integration with Fleet to enable the easy deployment of applications to a CAPI provisioned cluster.
Functionality
-
The provider will register a newly provisioned CAPI cluster with
Fleetby creating aFleetClusterinstance with the samenameandnamespace. Applications can be automatically deployed to the created cluster usingGitOps. -
The provider will automatically create a Fleet
ClusterGroupfor every CAPIClusterClassin theClusterClassnamespace. This enables you to deploy the same applications to all clusters created from the sameClusterClass.
This allows a user to specify either a Bundle resource with raw application workloads, or GitRepo to install applications from git. Each of the resources can provide targets with any combination of:
targets:
- clusterGroup: <cluster-class-name> # If the cluster is created from cluster-class
- clusterName: <a specific CAPI cluster name>
Additionally, CAAPF automatically propagates CAPI cluster labels to the Fleet cluster resource, so user can specify a target matching common cluster label with:
targets:
- clusterSelector: <label selector for the cluster instances, inherited from CAPI clusters>
- clusterGroupSelector: <label selector for the cluster group instances, labels inherited from ClusterClass>