You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The provider supports multiple methods for registering a new node into the cluster.
4
+
5
+
## Usage
6
+
7
+
The method to use is specified on the **RKEControlPlane** within the **spec**. If no method is supplied then the default method of **internal-first** will be used.
8
+
9
+
> You cannot change the registration method after creation.
For each CAPI `Machine` that is used for the control plane, we take the **internal** ip address from `Machine.status.addresses` if it exists. If there is no **internal** ip for a machine then we will use an **external** address instead. For the ip address found for a machine then we add it to `RKEControlPlane.status.availableServerIPs`.
39
+
40
+
The first IP address listed in `RKEControlPlane.status.availableServerIPs` is then used for the join.
41
+
42
+
### internal-only-ips
43
+
44
+
For each CAPI `Machine` that is used for the control plane, we take the **internal** ip address from `Machine.status.addresses` if it exists and then we add it to `RKEControlPlane.status.availableServerIPs`.
45
+
46
+
The first IP address listed in `RKEControlPlane.status.availableServerIPs` is then used for the join.
47
+
48
+
### external-only-ips
49
+
50
+
For each CAPI `Machine` that is used for the control plane, we take the **external** ip address from `Machine.status.addresses` if it exists and then we add it to `RKEControlPlane.status.availableServerIPs`.
51
+
52
+
The first IP address listed in `RKEControlPlane.status.availableServerIPs` is then used for the join.
53
+
54
+
### address
55
+
56
+
For this method you must supply an address in the control plane spec (i.e. `RKE2ControlPlane.spec.registrationAddress`). This address is then used for the join.
57
+
58
+
With this method its expected that you have a load balancer / VIP solution sitting in front of all the control plane machines and all the join requests will be routed via this.
0 commit comments