Skip to content

verrazzano/cluster-api-addon-provider-verrazzano

Repository files navigation

Cluster API Add-on Provider for Verrazzano

✨ What is Cluster API Add-on Provider for Verrazzano?

Cluster API Add-on Provider for Verrazzano extends the functionality of Cluster API by providing a solution for managing the installation, configuration, upgrade and deletion of Verrazzano on managed/workload clusters.

⚙️ Prerequisites

Ensure there are two clusters at a minimum

  • Admin cluster running the CAPI controllers.
  • Workload cluster created with CAPI.

⚙️ Prerequisites

Refer to the development guide to build images and setup the addon provider on your cluster

Install Verrazzano on Workload Cluster

Once the addon is deployed , we can now deploy verrazzzano on the workload cluster as follows.

Create a VerrazzanoFleet resource on the admin cluster.

kubectl apply -f - <<EOF
apiVersion: addons.cluster.x-k8s.io/v1alpha1
kind: VerrazzanoFleet
metadata:
  name: example-fleet-1
  namespace: default
spec:
  clusterSelector:
    name: kluster1
  verrazzano:
    spec:
      profile: dev
  EOF

The above Resource will create a dev profile based Verrazzano installation on the workload cluster.

Remove Verrazzano from Workload Cluster

To cleanup Verrazzano installations from the remote cluster, just delete the VerrazzanoFleet resource.

kubectl delete verrazzanofleet example-fleet-1