Perform this task if all of the components deployed by the {SMProductShortName} control plane, including Istiod, Ingress Gateway, and Egress Gateway, along with optional elements, such as Prometheus, Grafana, and Distributed Tracing, will run on infrastructure nodes.
If the control plane will run on a worker node, skip this task.
-
The {SMProductName} Operator must be installed.
-
An account with the
cluster-admin
role. If you use {product-dedicated}, you must have an account with thededicated-admin
role.
-
Log in to the {product-title} web console.
-
Navigate to Operators → Installed Operators.
-
Click the {SMProductName} Operator, then click Istio Service Mesh Control Plane.
-
Click the name of the control plane resource. For example,
basic
. -
Click YAML.
-
Modify the YAML code to run all of the {SMProductShortName} components deployed by the
ServiceMeshControlPlane
on infrastructure nodes. Add thenodeSelector
andtolerations
fields to thespec.runtime.defaults.pod
spec in theServiceMeshControlPlane
resource:spec: runtime: defaults: pod: nodeSelector: (1) node-role.kubernetes.io/infra: "" tolerations: (2) - effect: NoSchedule key: node-role.kubernetes.io/infra value: reserved - effect: NoExecute key: node-role.kubernetes.io/infra value: reserved
-
Ensures that the SMCP pods are only scheduled on an infrastructure node.
-
Ensures that the pods are accepted by the infrastructure node.
-
-
Click Save.
-
Click Reload.