Skip to content

Commit b24d4f9

Browse files
committed
add support mixed archictecture
1 parent 7cd1b18 commit b24d4f9

File tree

3 files changed

+8
-25
lines changed

3 files changed

+8
-25
lines changed

asciidoc/product/atip-automated-provision.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ Much of the configuration via Edge Image Builder is possible, but in this guide,
7272

7373
* A container runtime such as https://podman.io[Podman] or https://rancherdesktop.io[Rancher Desktop] is required to run Edge Image Builder.
7474
* The base image will be built using the following guide <<guides-kiwi-builder-images>> with the profile `Base-SelfInstall` (or `Base-RT-SelfInstall` for the Real-Time kernel). The process is the same for both architectures (x86-64 and aarch64).
75-
* To deploy aarch64 downstream clusters, you must set before the management cluster deployment the `deployArchitecture: arm64` parameter in the `metal3.yaml` file explained in <<arm64-mgmt-cluster,Management Cluster Documentation>>. This is required to ensure that the correct architecture is used for the downstream cluster.
7675

7776
[NOTE]
7877
====
@@ -639,6 +638,7 @@ metadata:
639638
labels:
640639
cluster-role: control-plane
641640
spec:
641+
architecture: x86_64
642642
online: true
643643
bootMACAddress: ${BMC_MAC}
644644
rootDeviceHints:
@@ -657,7 +657,8 @@ where:
657657

658658
[NOTE]
659659
====
660-
If no network configuration for the host has been specified, either at image build time or through the `BareMetalHost` definition, an autoconfiguration mechanism (DHCP, DHCPv6, SLAAC) will be used. For more details or complex configurations, check the xref:advanced-network-configuration[].
660+
* Architecture must be either `x86_64` or `aarch64`, depending on the architecture of the bare-metal host to be enrolled.
661+
* If no network configuration for the host has been specified, either at image build time or through the `BareMetalHost` definition, an autoconfiguration mechanism (DHCP, DHCPv6, SLAAC) will be used. For more details or complex configurations, check the xref:advanced-network-configuration[].
661662
====
662663

663664
Once the file is created, the following command has to be executed in the management cluster to start enrolling the new bare-metal host in the management cluster:
@@ -953,6 +954,7 @@ metadata:
953954
labels:
954955
cluster-role: control-plane
955956
spec:
957+
architecture: x86_64
956958
online: true
957959
bootMACAddress: ${BMC_NODE1_MAC}
958960
bmc:
@@ -972,6 +974,7 @@ Where:
972974
====
973975
* If no network configuration for the host has been specified, either at image build time or through the `BareMetalHost` definition, an autoconfiguration mechanism (DHCP, DHCPv6, SLAAC) will be used. For more details or complex configurations, check the xref:advanced-network-configuration[].
974976
* Multi-node dual-stack or IPv6 only clusters are not yet supported.
977+
* Architecture must be either `x86_64` or `aarch64`, depending on the architecture of the bare-metal host to be enrolled.
975978
====
976979

977980
Once the file is created, the following command must be executed in the management cluster to start enrolling the bare-metal hosts in the management cluster:
@@ -1555,6 +1558,7 @@ metadata:
15551558
labels:
15561559
cluster-role: control-plane
15571560
spec:
1561+
architecture: x86_64
15581562
online: true
15591563
bootMACAddress: ${BMC_MAC}
15601564
rootDeviceHints:
@@ -1570,6 +1574,7 @@ spec:
15701574
====
15711575
* If you need to deploy a multi-node cluster, the same process must be done for each node.
15721576
* The `Metal3DataTemplate`, `networkData` and `Metal3 IPAM` are currently not supported; only the configuration via static secrets is fully supported.
1577+
* Architecture must be either `x86_64` or `aarch64`, depending on the architecture of the bare-metal host to be enrolled.
15731578
====
15741579

15751580
[#add-telco]

asciidoc/product/atip-management-cluster.adoc

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -878,29 +878,6 @@ metal3-ironic:
878878
size: "5Gi"
879879
880880
----
881-
[#arm64-mgmt-cluster]
882-
In case you want to deploy arm64 downstream clusters using this x86_64 management cluster, you need to add the following `deployArchitecture: arm64` to the `global` section of the `metal3.yaml` file:
883-
+
884-
[,yaml]
885-
----
886-
global:
887-
ironicIP: ${METAL3_VIP}
888-
enable_vmedia_tls: false
889-
additionalTrustedCAs: false
890-
deployArchitecture: arm64
891-
metal3-ironic:
892-
global:
893-
predictableNicNames: "true"
894-
persistence:
895-
ironic:
896-
size: "5Gi"
897-
----
898-
899-
[NOTE]
900-
====
901-
In the current version, a limitation exists regarding the use of `deployArchitecture: arm64`. Specifically, if you enable the deployment of downstream arm64 clusters using this directive, the management cluster will subsequently only be able to deploy this architecture.
902-
To deploy clusters on both architectures (x86_64 and arm64), you will need to provision two separate management clusters. This limitation will be removed in a future version.
903-
====
904881

905882
[#metal3-media-server]
906883
[NOTE]

asciidoc/quickstart/metal3.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@ metadata:
353353
labels:
354354
cluster-role: control-plane
355355
spec:
356+
architecture: x86_64
356357
online: true
357358
bootMACAddress: "00:f3:65:8a:a3:b0"
358359
bmc:

0 commit comments

Comments
 (0)