From 4c5c43a1810accb3f334908ac1d2424147441685 Mon Sep 17 00:00:00 2001 From: David Tesar Date: Sat, 18 May 2024 07:46:13 -0700 Subject: [PATCH 1/2] update readme to use helm --- README.md | 46 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a3546b2..2623fa2 100644 --- a/README.md +++ b/README.md @@ -4,24 +4,50 @@ This project contains [Helm](https://helm.sh/) charts for [Cluster API](https:// ## Installing CAPI Charts -### [azure-aks-aso](./charts/azure-aks-aso) - -To install an AKS cluster for CAPZ using the ASO API, use the following commands: +This is the foundational step for any cloud provider to install CAPI and then use any charts from this repository: ```shell -clusterctl init --infrastructure azure +helm repo add capi-operator https://kubernetes-sigs.github.io/cluster-api-operator helm repo add capi https://mboersma.github.io/cluster-api-charts -helm install capi/azure-aks-aso -f +helm repo add jetstack https://charts.jetstack.io --force-update +helm repo update +helm install \ + cert-manager jetstack/cert-manager \ + --namespace cert-manager \ + --create-namespace \ + --set installCRDs=true ``` -### [azure-managed-cluster](./charts/azure-managed-cluster) +### Azure -To install an AKS cluster for CAPZ as a ManagedCluster, use the following commands: +Use this command to install CAPI with the Azure provider (CAPZ) and all feature flags for any of the Azure charts below. ```shell -clusterctl init --infrastructure azure -helm repo add capi https://mboersma.github.io/cluster-api-charts -helm install capi/azure-managed-cluster -f +helm install capi-operator capi-operator/cluster-api-operator --create-namespace -n capi-operator-system \ +--set infrastructure="azure" \ +--set manager.featureGates.core.MachinePool="true" \ +--set manager.featureGates.azure.MachinePool="true" \ +--set manager.featureGates.azure.ASOAPI="true" \ +--set manager.featureGates.azure.ClusterResourceSet="true" \ +--set manager.featureGates.azure.ClusterTopology="true" \ +--set manager.cert-manager.enabled="false" \ +--set manager.cert-manager.installCRDs="false" +``` + +#### [azure-aks-aso](./charts/azure-aks-aso) + +To install an AKS cluster for [CAPZ using the new experimental ASO API](https://capz.sigs.k8s.io/topics/aso.html?highlight=azure%20service%20ope#experimental-aso-api), use the following commands: + +``` +helm install capaksaso capi/azure-aks-aso -f +``` + +#### [azure-managed-cluster](./charts/azure-managed-cluster) + +To install an AKS cluster for CAPZ with [existing v1 ManagedCluster API](https://capz.sigs.k8s.io/topics/managedcluster), use the following commands: + +```shell +helm install azure-managed-cluster capi/azure-managed-cluster -f ``` ## Community, discussion, contribution, and support From aaa5d52cf8e49d2c66b687b8905cf94ee2b3253b Mon Sep 17 00:00:00 2001 From: David Tesar Date: Mon, 20 May 2024 11:57:46 -0700 Subject: [PATCH 2/2] address feedback --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2623fa2..0bad173 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This project contains [Helm](https://helm.sh/) charts for [Cluster API](https:// ## Installing CAPI Charts -This is the foundational step for any cloud provider to install CAPI and then use any charts from this repository: +These are the first steps for any cloud provider to use the charts from this repository:: ```shell helm repo add capi-operator https://kubernetes-sigs.github.io/cluster-api-operator @@ -39,7 +39,7 @@ helm install capi-operator capi-operator/cluster-api-operator --create-namespace To install an AKS cluster for [CAPZ using the new experimental ASO API](https://capz.sigs.k8s.io/topics/aso.html?highlight=azure%20service%20ope#experimental-aso-api), use the following commands: ``` -helm install capaksaso capi/azure-aks-aso -f +helm install capz-aso capi/azure-aks-aso -f ``` #### [azure-managed-cluster](./charts/azure-managed-cluster)