Skip to content

Commit

Permalink
Add README.md for azure-aks-aso chart
Browse files Browse the repository at this point in the history
  • Loading branch information
mboersma committed May 14, 2024
1 parent 1342e92 commit 9f19338
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions charts/azure-aks-aso/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# azure-aks-aso Chart

This Helm chart is used to deploy an Azure Kubernetes Service (AKS) Cluster using the Azure Service Operator (ASO) API.

## Prerequisites

Create a Kubernetes cluster to serve as a Cluster API management cluster. (For example, with `kind`.) Install the Cluster API Provider Azure (CAPZ) components on it with:

```shell
clusterctl init --infrastructure azure
```

## Add the cluster-api-charts repository to Helm

```shell
helm repo add capi https://mboersma.github.io/cluster-api-charts
```

## Specify values for the CAPZ AKS-ASO chart

Create a `values.yaml` file to specify credentials and other values for the CAPZ AKS-ASO chart. It can look like the following:

```yaml
credentialSecretName: "aso-credentials"
createCredentials: true
subscriptionID: ""
tenantID: ""
clientID: ""
clientSecret: ""
authMode: ""

# clusterName defaults to the name of the Helm release
clusterName: ""
location: eastus
clusterNetwork: null
kubernetesVersion: v1.28.9
subscriptionID: <subscription-id>
identity:
clientID: <client-id>
tenantID: <tenant-id>
type: WorkloadIdentity
cluster:
location: eastus
cidrBlocks:
- 192.168.0.0/16
controlplane:
sshPublicKey: <ssh-public-key>
networkPolicy: "calico"
networkPlugin: "kubenet"
networkPluginMode: null
```
## Install the CAPZ AKS-ASO Helm chart
```bash
helm install <name> capi/azure-aks-aso -f values.yaml
```

## Uninstall the CAPZ AKS-ASO Helm chart

```bash
helm uninstall <name>
```

0 comments on commit 9f19338

Please sign in to comment.