By default, spec.proxy
has the settings cpu: 10m
and memory: 128M
. If you are using Pilot, spec.runtime.components.pilot
has the same default values.
The settings in the following example are based on 1,000 services and 1,000 requests per second. You can change the values for cpu
and memory
in the serviceMeshControlPlane
.
Procedure
-
In the OpenShift Container Platform web console, click Operators → Installed Operators.
-
Click the Project menu and select the project where you installed the service Mesh control plane, for example istio-system.
-
Click the Red Hat OpenShift service Mesh Operator. In the Istio service Mesh Control Plane column, click the name of your serviceMeshControlPlane
, for example basic
.
-
Add the name of your standalone Jaeger instance to the serviceMeshControlPlane
.
-
Click the YAML tab.
-
Set the values for spec.proxy.runtime.container.resources.requests.cpu
and spec.proxy.runtime.container.resources.requests.memory
in your serviceMeshControlPlane
resource.
Example version 2.2 serviceMeshControlPlane
apiVersion: maistra.io/v2
kind: serviceMeshControlPlane
metadata:
name: basic
namespace: istio-system
spec:
version: v2.2
proxy:
runtime:
container:
resources:
requests:
cpu: 600m
memory: 50Mi
limits: {}
runtime:
components:
pilot:
container:
resources:
requests:
cpu: 1000m
memory: 1.6Gi
limits: {}
-
Click Save.
-
Click Reload to verify the serviceMeshControlPlane
resource was configured correctly.