Skip to content

Commit ef84728

Browse files
committed
Resolving Willie's comments
1 parent 5b4271e commit ef84728

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

docs/book/src/developers/tilt-with-aks-as-mgmt-ilb.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,23 +25,22 @@ While the default Tilt setup recommends using a KIND cluster as the management c
2525
- `Microsoft.Authorization`
2626
- `Microsoft.ResourceHealth` (if the `EXP_AKS_RESOURCE_HEALTH` feature flag is enabled)
2727
- Install the [Azure CLI](https://learn.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest)
28-
- A [supported version](https://github.com/kubernetes-sigs/cluster-api-provider-azure#compatibility) of `clusterctl`
28+
- A [supported version](https://github.com/kubernetes-sigs/cluster-api-provider-azure#compatibility) of [clusterctl](https://cluster-api.sigs.k8s.io/user/quick-start#install-clusterctl)
2929
- Basic understanding of Azure networking concepts, Cluster API, and CAPZ.
3030
- Go, Wget, and Tilt installed on your development machine.
3131
- If `tilt-settings.yaml` file exists in the root of your repo, clear out any values in `kustomize_settings` unless you want to use them instead of the values that will be set by running `make aks-create`.
3232

3333
### Managed Identity & Registry Setup
3434
1. Have a managed identity created from Azure Portal.
35-
2. Add the following lines to your shell config using `nano ~/.bashrc` or `nano ~/.zshrc`
35+
2. Add the following lines to your shell config such as `~/.bashrc` or `~/.zshrc`
3636
```
3737
export USER_IDENTITY="<Managed Identity name>"
38-
export AZURE_CLIENT_ID_USER_ASSIGNED_IDENTITY="<Client ID seen in the portal>"
38+
export AZURE_CLIENT_ID_USER_ASSIGNED_IDENTITY="<your-client-id>"
3939
export AZURE_CLIENT_ID="${AZURE_CLIENT_ID_USER_ASSIGNED_IDENTITY}"
40-
export AZURE_OBJECT_ID_USER_ASSIGNED_IDENTITY="<Object ID seen in the portal>"
41-
export AZURE_LOCATION="<location of your choice>"
42-
export REGISTRY=<registry of your choice>
40+
export AZURE_OBJECT_ID_USER_ASSIGNED_IDENTITY="<your-object-id>"
41+
export AZURE_LOCATION="<your-azure-location>"
42+
export REGISTRY=<your-container-registry>
4343
```
44-
- We recommend using DockerHub: `export REGISTRY=docker.io/<DOCKERHUBUSERNAME>` then authenticate with `Docker login`.
4544
3. Be sure to reload with `source ~/.bashrc` or `source ~/.zshrc` and then verify the correct env vars values return with `echo $AZURE_CLIENT_ID` and `echo $REGISTRY`.
4645

4746
## Steps to Use Tilt with AKS as the Management Cluster
@@ -74,8 +73,8 @@ While the default Tilt setup recommends using a KIND cluster as the management c
7473
- This task will take a few minutes to complete. Wait for this to finish to avoid race conditions.
7574
8. Checkmark the flavors you want to deploy and CAPZ will deploy the workload cluster with the selected flavor.
7675
- Flavors that leverage internal load balancer and are available for development in CAPZ for MSFT Tenant:
77-
- [apiserver-ilb](../../../../templates/cluster-template-apiserver-ilb.yaml): VM based default flavor that brings up native K8s clusters with Linux nodes.
78-
- [apiserver-ilb-windows](../../../../templates/cluster-template-windows-apiserver-ilb.yaml): VM based flavor that brings up native K8s clusters with Linux and Windows nodes.
76+
- [apiserver-ilb](https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/templates/cluster-template-apiserver-ilb.yaml): VM based default flavor that brings up native K8s clusters with Linux nodes.
77+
- [apiserver-ilb-windows](https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/templates/cluster-template-windows-apiserver-ilb.yaml): VM based flavor that brings up native K8s clusters with Linux and Windows nodes.
7978

8079
## Leveraging internal load balancer
8180

0 commit comments

Comments
 (0)