1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/snippets/multi-arch-schedule-toleration.adoc

25 lines
743 B
Plaintext

:_mod-docs-content-type: SNIPPET
Tolerating architecture taints in workloads:: When a node or machine set has a taint, only workloads that tolerate that taint can be scheduled. You can configure your workload with a `toleration` so that it is scheduled on nodes with specific architecture taints.
+
.Example deployment with toleration set
--
[source,yaml]
----
apiVersion: apps/v1
kind: Deployment
metadata: # ...
spec:
# ...
template:
# ...
spec:
tolerations:
- key: "multiarch.openshift.io/arch"
value: "arm64"
operator: "Equal"
effect: "NoSchedule"
----
This example deployment can be scheduled on nodes and machine sets that have the `multiarch.openshift.io/arch=arm64` taint specified.
--