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
Introduce dual-stack in the multi-node downstream example
Update the multi-node example to define a dual-stack deployment.
Signed-off-by: Marco Chiappero <[email protected]>
(cherry picked from commit 322958c)
Copy file name to clipboardExpand all lines: asciidoc/product/atip-automated-provision.adoc
+19-8Lines changed: 19 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -979,7 +979,7 @@ To do that, the following file (`capi-provisioning-example.yaml`) must be create
979
979
[NOTE]
980
980
====
981
981
- Only values between `$\{...\}` must be replaced with the real values.
982
-
- The `VIP` address is a reserved IP address that is not assigned to any node and is used to configure the load balancer.
982
+
- The `VIP` address is a reserved IP address that is not assigned to any node and is used to configure the load balancer. In a dual-stack cluster, both an IPv4 and IPv6 can be specified, but in the following examples priority will be given to the IPv4 address.
983
983
====
984
984
985
985
Below is the cluster definition, where the cluster network can be configured using the `pods` and the `services` blocks. Also, it contains the references to the control plane and the infrastructure (using the `Metal^3^` provider) objects to be used.
@@ -996,9 +996,11 @@ spec:
996
996
pods:
997
997
cidrBlocks:
998
998
- 192.168.0.0/18
999
+
- fd00:1234:4321::/48
999
1000
services:
1000
1001
cidrBlocks:
1001
1002
- 10.96.0.0/12
1003
+
- fd00:5678:8765:4321::/112
1002
1004
controlPlaneRef:
1003
1005
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
1004
1006
kind: RKE2ControlPlane
@@ -1009,7 +1011,12 @@ spec:
1009
1011
name: multinode-cluster
1010
1012
----
1011
1013
1012
-
The `Metal3Cluster` object specifies the control-plane endpoint that uses the `VIP` address already reserved (replacing the `$\{EDGE_VIP_ADDRESS\}`) to be configured and the `noCloudProvider` because the three bare-metal nodes are used.
1014
+
[NOTE]
1015
+
====
1016
+
Both single-stack and dual-stack deployments are possible, remove the IPv6 CIDRs and IPv6 VIP addresses (in the subsequent sections) for an IPv4 only cluster
1017
+
====
1018
+
1019
+
The `Metal3Cluster` object specifies the control-plane endpoint that uses the `VIP` address already reserved (replacing the `$\{EDGE_VIP_ADDRESS_IPV4\}`) to be configured and the `noCloudProvider` because the three bare-metal nodes are used.
@@ -1028,11 +1035,11 @@ The `RKE2ControlPlane` object specifies the control-plane configuration to be us
1028
1035
1029
1036
* The number of replicas to be used (in this case, three).
1030
1037
* The advertisement mode to be used by the Load Balancer (`address` uses the L2 implementation), as well as the address to be used (replacing the `$\{EDGE_VIP_ADDRESS\}` with the `VIP` address).
1031
-
* The `serverConfig` with the `CNI` plug-in to be used (in this case, `Cilium`), and the `tlsSan` to be used to configure the `VIP` address.
1038
+
* The `serverConfig` with the `CNI` plug-in to be used (in this case, `Cilium`), and the additional `VIP` address(es) and name(s) to be listed under `tlsSan`.
1032
1039
* The agentConfig block contains the `Ignition` format to be used and the `additionalUserData` to be used to configure the `RKE2` node with information like:
1033
1040
** The systemd service named `rke2-preinstall.service` to replace automatically the `BAREMETALHOST_UUID` and `node-name` during the provisioning process using the Ironic information.
1034
1041
** The `storage` block which contains the Helm charts to be used to install the `MetalLB` and the `endpoint-copier-operator`.
1035
-
** The `metalLB` custom resource file with the `IPaddressPool` and the `L2Advertisement` to be used (replacing `$\{EDGE_VIP_ADDRESS\}` with the `VIP` address).
1042
+
** The `metalLB` custom resource file with the `IPaddressPool` and the `L2Advertisement` to be used (replacing `$\{EDGE_VIP_ADDRESS_IPV4\}` with the `VIP` address).
1036
1043
** The `endpoint-svc.yaml` file to be used to configure the `kubernetes-vip` service to be used by the `MetalLB` to manage the `VIP` address.
1037
1044
* The last block of information contains the Kubernetes version to be used. The `$\{RKE2_VERSION\}` is the version of `RKE2` to be used replacing this value (for example, `{version-kubernetes-rke2}`).
0 commit comments