You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ossm-configuring-istio-ha-autoscaling.adoc
+24-20Lines changed: 24 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -17,48 +17,52 @@ Configure the {istio} control plane in High Availability (HA) mode to prevent a
17
17
18
18
.Procedure
19
19
20
-
. Modify the {istio}custom resource by defining the autoscaleMin and autoscaleMax parameters.
20
+
. Obtain the name of the {istio} resource by running the following command:
21
21
+
22
-
.Example configuration
23
-
[source,yaml,subs="attributes,verbatim"]
22
+
[source,terminal]
24
23
----
25
-
apiVersion: sailoperator.io/v1
26
-
kind: Istio
27
-
metadata:
28
-
name: default
29
-
spec:
30
-
namespace: istio-system
31
-
values:
32
-
pilot:
33
-
autoscaleMin: 2 # <1>
34
-
autoscaleMax: 5 # <2>
24
+
$ oc get istio -n istio-system
35
25
----
36
-
<1> Defines the minimum number of {istio} control plane replicas that always run.
37
-
<2> Defines the maximum number of {istio} control plane replicas, allowing for scaling based on load. To support HA, there must be at least two replicas.
26
+
+
27
+
.Example output
28
+
[source,terminal]
29
+
----
30
+
NAME REVISIONS READY IN USE ACTIVE REVISION STATUS VERSION AGE
31
+
default 1 1 0 default Healthy v1.24.6 24m
32
+
----
33
+
+
34
+
The name of the {istio} resource is `default`.
38
35
39
-
. Apply the configuration changes by running the following command:
36
+
. Update the {istio} custom resource by adding the `autoscaleMin` and `autoscaleMax` parameters by running the following command:
<1> Defines the minimum number of {istio} control plane replicas that always run.
49
+
<2> Defines the maximum number of {istio} control plane replicas, allowing for scaling based on load. To support HA, there must be at least two replicas.
45
50
46
51
.Verification
47
52
48
-
Verify the status of the {Istio} control pods by running the following command:
53
+
. Verify the status of the {Istio} control pods by running the following command:
49
54
+
50
55
[source,terminal]
51
56
----
52
57
$ oc get pods -n istio-system -l app=istiod
53
58
----
54
59
+
55
60
.Example output
56
-
+
57
61
[source,terminal]
58
62
----
59
63
NAME READY STATUS RESTARTS AGE
60
64
istiod-7c7b6564c9-nwhsg 1/1 Running 0 70s
61
65
istiod-7c7b6564c9-xkmsl 1/1 Running 0 85s
62
66
----
63
67
+
64
-
Two `istiod` pods are running, which indicates HA was successfully configured.
68
+
Two `istiod` pods are running, which indicates HA was successfully configured.
0 commit comments