mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-07 00:48:01 +01:00
70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
// Module included in the following assemblies:
|
||
//
|
||
// * service_mesh/v2x/customizing-installation-ossm.adoc
|
||
|
||
[id="ossm-cr-pilot_{context}"]
|
||
= Istio Pilot configuration
|
||
|
||
You can configure Pilot to schedule or set limits on resource allocation.
|
||
The following example illustrates the Pilot parameters for the `ServiceMeshControlPlane` and a description of the available parameters with appropriate values.
|
||
|
||
.Example pilot parameters
|
||
[source,yaml]
|
||
----
|
||
spec:
|
||
runtime:
|
||
components:
|
||
pilot:
|
||
deployment:
|
||
autoScaling:
|
||
enabled: true
|
||
minReplicas: 1
|
||
maxReplicas: 5
|
||
targetCPUUtilizationPercentage: 85
|
||
pod:
|
||
tolerations:
|
||
- key: node.kubernetes.io/unreachable
|
||
operator: Exists
|
||
effect: NoExecute
|
||
tolerationSeconds: 60
|
||
affinity:
|
||
podAntiAffinity:
|
||
requiredDuringScheduling:
|
||
- key: istio
|
||
topologyKey: kubernetes.io/hostname
|
||
operator: In
|
||
values:
|
||
- pilot
|
||
container:
|
||
resources:
|
||
limits:
|
||
cpu: 100m
|
||
memory: 128M
|
||
----
|
||
|
||
.Istio Pilot parameters
|
||
|===
|
||
|Parameter |Description |Values |Default value
|
||
|
||
|`cpu`
|
||
|The percentage of CPU resources requested for Pilot.
|
||
|CPU resources in millicores based on your environment's configuration.
|
||
|`10m`
|
||
|
||
|`memory`
|
||
|The amount of memory requested for Pilot.
|
||
|Available memory in bytes (for example, 200Ki, 50Mi, 5Gi) based on your environment’s configuration.
|
||
|`128Mi`
|
||
|
||
|`autoscaleEnabled`
|
||
|This parameter enables/disables autoscaling. Disable this for small environments.
|
||
|`true`/`false`
|
||
|`true`
|
||
|
||
|
||
|`traceSampling`
|
||
|This value controls how often random sampling occurs. *Note:* Increase for development or testing.
|
||
|A valid percentage.
|
||
|`1.0`
|
||
|===
|