Skip to content

Commit 076a10d

Browse files
authored
Merge pull request #1476 from fiunchinho/fix-broken-link
Fix broken link in docs
2 parents 54da075 + 8719a56 commit 076a10d

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

docs/book/src/topics/gpu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Let's create a CAPZ cluster with an N-series node and run a GPU-powered vector c
1818

1919
### Generate an nvidia-gpu cluster template
2020

21-
Use the `clusterctl config cluster` command to generate a manifest that defines your GPU-enabled
21+
Use the `clusterctl generate cluster` command to generate a manifest that defines your GPU-enabled
2222
workload cluster.
2323

2424
Remember to use the `nvidia-gpu` flavor with N-series nodes.
@@ -27,7 +27,7 @@ Remember to use the `nvidia-gpu` flavor with N-series nodes.
2727
AZURE_CONTROL_PLANE_MACHINE_TYPE=Standard_D2s_v3 \
2828
AZURE_NODE_MACHINE_TYPE=Standard_NC6s_v3 \
2929
AZURE_LOCATION=southcentralus \
30-
clusterctl config cluster azure-gpu \
30+
clusterctl generate cluster azure-gpu \
3131
--kubernetes-version=v1.19.7 \
3232
--worker-machine-count=1 \
3333
--flavor=nvidia-gpu > azure-gpu-cluster.yaml

docs/book/src/topics/identity.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ spec:
146146
147147
The CAPZ controller will look for `SystemAssigned` value in `identity` field under `AzureMachinePool`, and enable system-assigned managed identity in the virtual machine scale set.
148148
149-
Alternatively, you can also use the `system-assigned-identity`, and `machinepool-system-assigned-identity` flavors by setting the `{flavor}` in `clusterctl config cluster --flavor {flavor}` to use system-assigned managed identity in machine deployment, and machine pool respectively.
149+
Alternatively, you can also use the `system-assigned-identity`, and `machinepool-system-assigned-identity` flavors by setting the `{flavor}` in `clusterctl generate cluster --flavor {flavor}` to use system-assigned managed identity in machine deployment, and machine pool respectively.
150150
151151
#### User-assigned managed identity
152152
@@ -249,4 +249,4 @@ spec:
249249
250250
The CAPZ controller will look for `UserAssigned` value in `identity` field under `AzureMachinePool`, and assign the user identities listed in `userAssignedIdentities` to the virtual machine scale set.
251251
252-
Similar to system assigned identity, you can use the `user-assigned-identity`, and `machinepool-user-assigned-identity` flavors by setting the `{flavor}` in `clusterctl config cluster --flavor {flavor}` to use user-assigned managed identity in machine deployment, and machine pool respectively.
252+
Similar to system assigned identity, you can use the `user-assigned-identity`, and `machinepool-user-assigned-identity` flavors by setting the `{flavor}` in `clusterctl generate cluster --flavor {flavor}` to use user-assigned managed identity in machine deployment, and machine pool respectively.

docs/book/src/topics/machinepools.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,16 +83,16 @@ virtual machine from the scale set. This is useful if one would like to manually
8383
CAPZ.
8484

8585
### Using `clusterctl` to deploy
86-
To deploy a MachinePool / AzureMachinePool via `clusterctl config` there's a [flavor](https://cluster-api.sigs.k8s.io/clusterctl/commands/config-cluster.html#flavors)
86+
To deploy a MachinePool / AzureMachinePool via `clusterctl generate` there's a [flavor](https://cluster-api.sigs.k8s.io/clusterctl/commands/generate-cluster.html#flavors)
8787
for that.
8888

8989
Make sure to set up your Azure environment as described [here](https://cluster-api.sigs.k8s.io/user/quick-start.html).
9090

9191
```shell
92-
clusterctl config cluster my-cluster --kubernetes-version v1.19.7 --flavor machinepool > my-cluster.yaml
92+
clusterctl generate cluster my-cluster --kubernetes-version v1.19.7 --flavor machinepool > my-cluster.yaml
9393
```
9494

95-
The template used for this [flavor](https://cluster-api.sigs.k8s.io/clusterctl/commands/config-cluster.html#flavors)
95+
The template used for this [flavor](https://cluster-api.sigs.k8s.io/clusterctl/commands/generate-cluster.html#flavors)
9696
is located [here](https://raw.githubusercontent.com/kubernetes-sigs/cluster-api-provider-azure/master/templates/cluster-template-machinepool.yaml).
9797

9898
### Example MachinePool, AzureMachinePool and KubeadmConfig Resources

docs/book/src/topics/managedcluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Execute clusterctl to template the resources, then apply to a management cluster
5858

5959
```bash
6060
clusterctl init --infrastructure azure
61-
clusterctl config cluster ${CLUSTER_NAME} --kubernetes-version ${KUBERNETES_VERSION} --flavor aks > cluster.yaml
61+
clusterctl generate cluster ${CLUSTER_NAME} --kubernetes-version ${KUBERNETES_VERSION} --flavor aks > cluster.yaml
6262

6363
# assumes an existing management cluster
6464
kubectl apply -f cluster.yaml

templates/flavors/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ or flavors; use the --flavor flag to specify which flavor to use; e.g
66
clusterctl config cluster my-cluster --kubernetes-version v1.19.7 \
77
--flavor external-cloud-provider > my-cluster.yaml
88
```
9-
See [`clusterctl` flavors docs](https://cluster-api.sigs.k8s.io/clusterctl/commands/config-cluster.html#flavors).
9+
See [`clusterctl` flavors docs](https://cluster-api.sigs.k8s.io/clusterctl/commands/generate-cluster.html#flavors).
1010

1111
This directory contains each of the flavors for CAPZ. Each directory besides `base` will be used to
1212
create a flavor by running `kustomize build` on the directory. The name of the directory will be

0 commit comments

Comments
 (0)