Skip to content

Commit 25c181c

Browse files
authored
Merge pull request #32981 from neal-timpe/ossmdoc-329
OSSMDOC-329: Performance scalability review
2 parents 7087da2 + d4c42e6 commit 25c181c

File tree

4 files changed

+32
-5
lines changed

4 files changed

+32
-5
lines changed

modules/ossm-recommended-resources.adoc

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,26 @@ This module included in the following assemblies:
44
////
55

66
[id="ossm-recommended-resources_{context}"]
7-
= Recommended compute resources
7+
= Setting limits on compute resources
88

9-
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.
10-
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` as necessary based on your environment.
9+
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.
1110

11+
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`.
12+
13+
.Procedure
14+
15+
. In the {product-title} web console, click *Operators* -> *Installed Operators*.
16+
17+
. From the Project menu, select the project where you installed the `ServiceMeshControlPlane` resource, for example `istio-system`.
18+
19+
. Click the {ProductName} Operator. In the *Istio Service Mesh Control Plane* column, click the name of your `ServiceMeshControlPlane`, for example `basic`.
20+
21+
. Add the name of your standalone Jaeger instance to the `ServiceMeshControlPlane`.
22+
+
23+
.. Click the *YAML* tab.
24+
+
25+
.. Set the values for `spec.proxy.runtime.container.resources.requests.cpu` and `spec.proxy.runtime.container.resources.requests.memory` in your `ServiceMeshControlPlane` resource.
26+
+
1227
.Example version 2.0 ServiceMeshControlPlane
1328
[source,yaml]
1429
----
@@ -38,3 +53,7 @@ spec:
3853
memory: 1.6Gi
3954
limits: {}
4055
----
56+
+
57+
.. Click *Save*.
58+
59+
. Click *Reload* to verify the `ServiceMeshControlPlane` resource was configured correctly.

modules/ossm-smcp-prod.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ spec:
4242
resources: {}
4343
----
4444

45+
.. Configure the sampling rate for production. For more information, see the Performance and scalability section.
46+
4547
. Ensure your security certificates are production ready by installing security certificates from an external certificate authority. For more information, see the Security section.
4648

4749
. Verify the results. Enter the following command to verify that the `ServiceMeshControlPlane` resource updated properly. In this example, `basic` is the name of the `ServiceMeshControlPlane` resource.
48-
50+
+
4951
[source,terminal]
5052
----
5153
$ oc get smcp basic -o yaml

service_mesh/v2x/ossm-deploy-production.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ When you are ready to move from a basic installation to production, you must con
1212
* Test your configuration in a staging environment.
1313
1414
include::modules/ossm-smcp-prod.adoc[leveloffset=+1]
15+
16+
= Additional resources
17+
18+
For more information about tuning {ProductShortName} for performance, see xref:../../service_mesh/v2x/ossm-performance-scalability.adoc#ossm-performance-scalability[Perforance and Scalability].
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
[id="ossm-performance-scalability"]
22
= Performance and scalability
3+
include::modules/ossm-document-attributes.adoc[]
34
:context: performance-scalability
45

56
toc::[]
67

7-
The default `ServiceMeshControlPlane` settings are not intended for production use; they are designed to install successfully on a default OpenShift installation, which is an extremely resource limited environment. After you have verified a successful SMCP installation, you should modify the settings defined within the SMCP to suit your environment. This section provides guidance for configuring {ProductName} for production use.
8+
The default `ServiceMeshControlPlane` settings are not intended for production use; they are designed to install successfully on a default {product-title} installation, which is a resource-limited environment. After you have verified a successful SMCP installation, you should modify the settings defined within the SMCP to suit your environment.
89

910
// The following include statements pull in the module files that comprise the assembly.
1011

1112
include::modules/ossm-recommended-resources.adoc[leveloffset=+1]
1213

1314
include::modules/ossm-load-test-results.adoc[leveloffset=+1]
15+

0 commit comments

Comments
 (0)