Skip to content

Commit f5ff5ac

Browse files
authored
Merge pull request #43799 from JStickler/OSSMDOC-461
OSSMDOC-461: Validate SCMP components with Kiali.
2 parents db36a7d + f7bdd8b commit f5ff5ac

13 files changed

+134
-15
lines changed
128 KB
Loading

images/ossm-kiali-overview.png

65.9 KB
Loading

machine_management/creating-infrastructure-machinesets.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For information about infrastructure nodes and which components can run on infra
1818
[id="creating-infrastructure-machinesets-production"]
1919
== Creating infrastructure machine sets for production environments
2020

21-
In a production deployment, it is recommended that you deploy at least three machine sets to hold infrastructure components. Both OpenShift Logging and {ProductName} deploy Elasticsearch, which requires three instances to be installed on different nodes. Each of these nodes can be deployed to different availability zones for high availability. A configuration like this requires three different machine sets, one for each availability zone. In global Azure regions that do not have multiple availability zones, you can use availability sets to ensure high availability.
21+
In a production deployment, it is recommended that you deploy at least three machine sets to hold infrastructure components. Both OpenShift Logging and {SMProductName} deploy Elasticsearch, which requires three instances to be installed on different nodes. Each of these nodes can be deployed to different availability zones for high availability. A configuration like this requires three different machine sets, one for each availability zone. In global Azure regions that do not have multiple availability zones, you can use availability sets to ensure high availability.
2222

2323
[id="creating-infrastructure-machinesets-clouds"]
2424
=== Creating machine sets for different clouds

modules/ossm-control-plane-cli.adoc

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
////
22
This module is included in the following assemblies:
3-
* service_mesh/v2x/ossm-observability.adoc
3+
* service_mesh/v2x/ossm-create-smcp.adoc
44
////
5-
65
:_content-type: PROCEDURE
76
[id="ossm-control-plane-deploy-cli_{context}"]
87
= Deploying the control plane from the CLI
@@ -65,11 +64,24 @@ spec:
6564
$ oc create -n istio-system -f <istio_installation.yaml>
6665
----
6766
+
68-
. Run the following command to verify the control plane installation.
67+
. To watch the progress of the pod deployment, run the following command:
6968
+
7069
[source,terminal]
7170
----
72-
$ oc get smcp -n istio-system
71+
$ oc get pods -n istio-system -w
7372
----
7473
+
75-
The installation has finished successfully when the `STATUS` column is `ComponentsReady`.
74+
You should see output similar to the following:
75+
+
76+
[source,terminal]
77+
----
78+
NAME READY STATUS RESTARTS AGE
79+
grafana-b4d59bd7-mrgbr 2/2 Running 0 65m
80+
istio-egressgateway-678dc97b4c-wrjkp 1/1 Running 0 108s
81+
istio-ingressgateway-b45c9d54d-4qg6n 1/1 Running 0 108s
82+
istiod-basic-55d78bbbcd-j5556 1/1 Running 0 108s
83+
jaeger-67c75bd6dc-jv6k6 2/2 Running 0 65m
84+
kiali-6476c7656c-x5msp 1/1 Running 0 43m
85+
prometheus-58954b8d6b-m5std 2/2 Running 0 66m
86+
wasm-cacher-basic-8c986c75-vj2cd 1/1 Running 0 65m
87+
----

modules/ossm-validate-smcp-cli.adoc

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
////
2+
This module is included in the following assemblies:
3+
* service_mesh/v2x/ossm-create-smcp.adoc
4+
////
5+
:_content-type: PROCEDURE
6+
[id="ossm-validate-control-plane-cli_{context}"]
7+
= Validating your SMCP installation with the CLI
8+
You can validate the creation of the `ServiceMeshControlPlane` from the command line.
9+
10+
.Procedure
11+
12+
. Log in to the {product-title} CLI as a user with the `cluster-admin` role. If you use Red Hat OpenShift Dedicated, you must have an account with the `dedicated-admin` role.
13+
+
14+
[source,terminal]
15+
----
16+
$ oc login https://<HOSTNAME>:6443
17+
----
18+
+
19+
. Run the following command to verify the control plane installation, where `istio-system` is the namespace where you installed the service mesh control plane.
20+
+
21+
[source,terminal]
22+
----
23+
$ oc get smcp -n istio-system
24+
----
25+
+
26+
The installation has finished successfully when the `STATUS` column is `ComponentsReady`.
27+
+
28+
[source,terminal]
29+
----
30+
NAME READY STATUS PROFILES VERSION AGE
31+
basic 10/10 ComponentsReady ["default"] 2.1.1 66m
32+
----

modules/ossm-validate-smcp-kiali.adoc

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
////
2+
This module is included in the following assemblies:
3+
* service_mesh/v2x/ossm-create-smcp.adoc
4+
////
5+
:_content-type: PROCEDURE
6+
[id="ossm-validate-control-plane-kiali_{context}"]
7+
= Validating your SMCP installation with Kiali
8+
9+
You can use the Kiali console to validate your {SMProductShortName} installation. The Kiali console offers several ways to validate your {SMProductShortName} components are deployed and configured properly.
10+
11+
.Procedure
12+
13+
. Log in to the {product-title} web console as a user with cluster-admin rights. If you use {product-dedicated}, you must have an account with the `dedicated-admin` role.
14+
15+
. Navigate to *Networking* -> *Routes*.
16+
17+
. On the *Routes* page, select the control plane project, for example `istio-system`, from the *Namespace* menu.
18+
+
19+
The *Location* column displays the linked address for each route.
20+
+
21+
. If necessary, use the filter to find the route for the Kiali console. Click the route *Location* to launch the console.
22+
23+
. Click *Log In With OpenShift*.
24+
+
25+
When you first log in to the Kiali Console, you see the *Overview* page which displays all the namespaces in your service mesh that you have permission to view. When there are multiple namespaces shown on the *Overview* page, Kiali shows namespaces with health or validation problems first.
26+
+
27+
.Kiali Overview page
28+
image::ossm-kiali-overview.png[Kiali Overview page showing istio-system]
29+
+
30+
The tile for each namespace displays the number of labels, the *Istio Config* health, the number of and *Applications* health, and *Traffic* for the namespace. If you are validating the console installation and namespaces have not yet been added to the mesh, there might not be any data to display other than `istio-system`.
31+
32+
. Kiali has four dashboards specifically for the namespace where the service mesh control plane is installed. To view these dashboards, click the *Options* menu {kebab} on the tile for the control plane namespace, for example, `istio-system`, and select one of the following options:
33+
34+
** *Istio Mesh Dashboard*
35+
** *Istio Control Plane Dashboard*
36+
** *Istio Performance Dashboard*
37+
** *Istio Wasm Exetension Dashboard*
38+
+
39+
.Grafana Istio Control Plane Dashboard
40+
image::ossm-grafana-control-plane-dashboard.png[Istio Control Plane Dashboard showing data for bookinfo sample project]
41+
+
42+
Kiali also installs two additional Grafana dashboards, available from the Grafana *Home* page:
43+
** *Istio Workload Dashboard*
44+
** *Istio Service Dashboard*
45+
+
46+
. To view the service mesh control plane nodes, click the *Graph* page, select the *Namespace* where you installed the `ServiceMeshControlPlane` from the menu, for example `istio-system`.
47+
48+
.. If necessary, click *Display idle nodes*.
49+
50+
.. To learn more about the *Graph* page, click the *Graph tour* link.
51+
52+
.. To view the mesh topology, select one or more additional namespaces from the Service Mesh Member Roll from the *Namespace* menu.
53+
54+
. To view the list of applications in the `istio-system` namespace, click the *Applications* page. Kiali displays the health of the applications.
55+
56+
.. Hover your mouse over the information icon to view any additional information noted in the *Details* column.
57+
58+
. To view the list of workloads in the `istio-system` namespace, click the *Workloads* page. Kiali displays the health of the workloads.
59+
60+
.. Hover your mouse over the information icon to view any additional information noted in the *Details* column.
61+
62+
. To view the list of services in the `istio-system` namespace, click the *Services* page. Kiali displays the health of the services and of the configurations.
63+
64+
.. Hover your mouse over the information icon to view any additional information noted in the *Details* column.
65+
66+
. To view a list of the Istio Configuration objects in the `istio-system` namespace, click the *Istio Config* page. Kiali displays the health of the configuration.
67+
68+
.. If there are configuration errors, click the row and Kiali opens the configuration file with the error highlighted.

modules/serverless-ossm-enabling-serving-metrics.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ If Service Mesh is enabled with mTLS, metrics for Knative Serving are disabled b
1111
.Prerequisites
1212

1313
* You have installed the {ServerlessOperatorName} and Knative Serving on your cluster.
14-
* You have installed {ProductName} with the mTLS functionality enabled.
14+
* You have installed {SMProductName} with the mTLS functionality enabled.
1515
1616
ifdef::openshift-enterprise[]
1717
* You have access to an {product-title} account with cluster administrator access.

modules/serverless-ossm-setup-with-kourier.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ endif::[]
1919
* Install the OpenShift CLI (`oc`).
2020
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
2121
* You have installed the {ServerlessOperatorName} and Knative Serving on your cluster.
22-
* You have installed {ProductName}. {ServerlessProductName} with {ProductShortName} and Kourier is supported for use with both {ProductName} versions 1.x and 2.x.
22+
* You have installed {SMProductName}. {ServerlessProductName} with {SMProductShortName} and Kourier is supported for use with both {SMProductName} versions 1.x and 2.x.
2323
2424
.Procedure
2525

modules/serverless-ossm-setup.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can integrate {ProductShortName} with {ServerlessProductName} without using
1010

1111
.Prerequisites
1212

13-
* You have installed {ProductName}. {ServerlessProductName} with {ProductShortName} only is supported for use with {ProductName} version 2.0.5 or higher.
13+
* You have installed {SMProductName}. {ServerlessProductName} with {SMProductShortName} only is supported for use with {SMProductName} version 2.0.5 or higher.
1414
1515
ifdef::openshift-enterprise[]
1616
* You have access to an {product-title} account with cluster administrator access.

post_installation_configuration/cluster-tasks.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ include::modules/nodes-scheduler-node-selectors-cluster.adoc[leveloffset=+2]
508508

509509
You can create a machine set to create machines that host only infrastructure components, such as the default router, the integrated container image registry, and components for cluster metrics and monitoring. These infrastructure machines are not counted toward the total number of subscriptions that are required to run the environment.
510510

511-
In a production deployment, it is recommended that you deploy at least three machine sets to hold infrastructure components. Both OpenShift Logging and {ProductName} deploy Elasticsearch, which requires three instances to be installed on different nodes. Each of these nodes can be deployed to different availability zones for high availability. A configuration like this requires three different machine sets, one for each availability zone. In global Azure regions that do not have multiple availability zones, you can use availability sets to ensure high availability.
511+
In a production deployment, it is recommended that you deploy at least three machine sets to hold infrastructure components. Both OpenShift Logging and {SMProductName} deploy Elasticsearch, which requires three instances to be installed on different nodes. Each of these nodes can be deployed to different availability zones for high availability. A configuration like this requires three different machine sets, one for each availability zone. In global Azure regions that do not have multiple availability zones, you can use availability sets to ensure high availability.
512512

513513
For information on infrastructure nodes and which components can run on infrastructure nodes, see xref:../machine_management/creating-infrastructure-machinesets.adoc#creating-infrastructure-machinesets[Creating infrastructure machine sets].
514514

0 commit comments

Comments
 (0)