Skip to content

Commit e8ef8bf

Browse files
authored
Update and clarify registrationMethod on CAPZ/RKE2 Cluster (#272)
Signed-off-by: Andrea Mazzotti <[email protected]>
1 parent b737258 commit e8ef8bf

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/next/modules/en/pages/user/clusterclass.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ kubectl apply -f https://raw.githubusercontent.com/rancher/turtles/refs/heads/ma
114114
* Create the Azure Cluster from the example ClusterClass +
115115
+
116116
Note that some variables are left to the user to substitute. +
117+
Also beware that the `internal-first` `registrationMethod` variable is used as a workaround for correct provisioning. +
118+
This immutable variable however will lead to issues when scaling or rolling out control plane nodes. +
119+
A https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5525[patch] will support this case in a future release of CAPZ, but the Cluster will need to be reprovisioned to change the `registrationMethod` +
117120
+
118121
[source,yaml]
119122
----
@@ -143,6 +146,8 @@ spec:
143146
value: <AZURE_RESOURCE_GROUP>
144147
- name: azureClusterIdentityName
145148
value: cluster-identity
149+
- name: registrationMethod
150+
value: internal-first
146151
version: v1.31.1+rke2r1
147152
workers:
148153
machineDeployments:

docs/v0.18/modules/en/pages/user/clusterclass.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ kubectl apply -f https://raw.githubusercontent.com/rancher/turtles/refs/heads/ma
114114
* Create the Azure Cluster from the example ClusterClass +
115115
+
116116
Note that some variables are left to the user to substitute. +
117+
Also beware that the `internal-first` `registrationMethod` variable is used as a workaround for correct provisioning. +
118+
This immutable variable however will lead to issues when scaling or rolling out control plane nodes. +
119+
A https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5525[patch] will support this case in a future release of CAPZ, but the Cluster will need to be reprovisioned to change the `registrationMethod` +
117120
+
118121
[source,yaml]
119122
----
@@ -143,6 +146,8 @@ spec:
143146
value: <AZURE_RESOURCE_GROUP>
144147
- name: azureClusterIdentityName
145148
value: cluster-identity
149+
- name: registrationMethod
150+
value: internal-first
146151
version: v1.31.1+rke2r1
147152
workers:
148153
machineDeployments:

0 commit comments

Comments
 (0)