Skip to content

Commit

Permalink
Update readme to use helm (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtzar authored May 20, 2024
1 parent 540dcdd commit 330ecdb
Showing 1 changed file with 36 additions and 10 deletions.
46 changes: 36 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
These are the first steps for any cloud provider to use the 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 <name> capi/azure-aks-aso -f <my_values.yaml>
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 <name> capi/azure-managed-cluster -f <my_values.yaml>
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 capz-aso capi/azure-aks-aso -f <my_values.yaml>
```

#### [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 <my_values.yaml>
```

## Community, discussion, contribution, and support
Expand Down

0 comments on commit 330ecdb

Please sign in to comment.