Skip to content

Commit c7eb95a

Browse files
Final
1 parent 0d860be commit c7eb95a

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

content/learning-paths/servers-and-cloud-computing/arm-cost-savings/migrationsteps.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ Before migrating, confirm that your applications can run on the Arm 64-bit (`arm
1616

1717
Use the following tools to inspect container images for multi-architecture support:
1818

19-
- [KubeArchInspect](https://learn.arm.com/learning-paths/servers-and-cloud-computing/kubearchinspect/): Scans container images in your Kubernetes cluster.
20-
- [Docker inspect script](https://learn.arm.com/learning-paths/cross-platform/docker/check-images/): Checks local image manifests for platform variants.
19+
- [KubeArchInspect](https://learn.arm.com/learning-paths/servers-and-cloud-computing/kubearchinspect/): scans container images in your Kubernetes cluster.
20+
- [Docker inspect script](https://learn.arm.com/learning-paths/cross-platform/docker/check-images/): checks local image manifests for platform variants.
21+
22+
{{% notice Note %}}
23+
The OpenShift Pipelines Tutorial supports `arm64` and has no architecture restrictions.
24+
{{% /notice %}}
2125

22-
> [!NOTE]
23-
> The OpenShift Pipelines Tutorial supports `arm64` and has no architecture restrictions.
2426

2527
## Enable multi-architecture support in Red Hat OpenShift
2628

@@ -50,8 +52,8 @@ To take advantage of Arm-based compute, you need to add new MachineSets to your
5052

5153
When introducing Arm nodes into your OpenShift cluster, you need to control which workloads are scheduled onto these new nodes. There are two main approaches:
5254

53-
- **Manual scheduling with Taints and Tolerations:** By applying a taint to your Arm nodes, you ensure that only workloads with a matching toleration are scheduled there. This gives you precise control over which applications run on Arm, making it easier to test and migrate workloads incrementally.
54-
- **Automated scheduling with the Multiarch Tuning Operator:** This operator helps automate the placement of workloads on the appropriate architecture by managing node affinity and tolerations for you. This is useful for larger environments or when you want to simplify multi-architecture workload management.
55+
- **Manual scheduling with Taints and Tolerations:** by applying a taint to your Arm nodes, you ensure that only workloads with a matching toleration are scheduled there. This gives you precise control over which applications run on Arm, making it easier to test and migrate workloads incrementally.
56+
- **Automated scheduling with the Multiarch Tuning Operator:** this operator helps automate the placement of workloads on the appropriate architecture by managing node affinity and tolerations for you. This is useful for larger environments or when you want to simplify multi-architecture workload management.
5557

5658
For manual scheduling, add the following taint:
5759

@@ -77,15 +79,19 @@ oc import-image php -n openshift --all --confirm --import-mode='PreserveOriginal
7779
oc import-image python -n openshift --all --confirm --import-mode='PreserveOriginal'
7880
```
7981

80-
> [!TIP]
81-
> This avoids image pull errors when deploying on Arm nodes.
82+
{{% notice Note %}}
83+
This avoids image pull errors when deploying on Arm nodes.
84+
{{% /notice %}}
85+
8286

83-
## 4. Rebuild and verify container images
87+
## Rebuild and verify container images
8488

8589
To build 64-bit Arm compatible images, the OpenShift Pipelines Tutorial has been modified to patch deployments with the Tekton Task's podTemplate information. This will allow you to pass a podTemplate for building and deploying your newly built application on the target architecture. It also makes it easy to revert back to 64-bit x86 by re-running the pipeline without the template.
8690

87-
> [!NOTE]
88-
> Red Hat OpenShift only supports native builds. Cross-architecture builds are not supported.
91+
{{% notice Note %}}
92+
Red Hat OpenShift only supports native builds. Cross-architecture builds are not supported.
93+
{{% /notice %}}
94+
8995
## Define a podTemplate
9096
Create a podTemplate defining a toleration and a node affinity to make the builds deploy on Arm machines.
9197

0 commit comments

Comments
 (0)