Skip to content

Commit 3b92240

Browse files
authored
Merge pull request #22368 from neal-timpe/kialiintro
Kiali introduction
2 parents 1d849a9 + 93a63a9 commit 3b92240

File tree

4 files changed

+85
-0
lines changed

4 files changed

+85
-0
lines changed

_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,8 @@ Topics:
14451445
Topics:
14461446
- Name: Traffic management
14471447
File: ossm-traffic-manage
1448+
- Name: Data visualization and observability
1449+
File: ossm-observability
14481450
# - Name: Grafana tutorial
14491451
# File: ossm-tutorial-grafana
14501452
# - Name: Prometheus tutorial
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Module included in the following assemblies:
2+
//
3+
//- ossm-observability.adoc
4+
5+
[id="ossm-observability-access-console_{context}"]
6+
= Accessing the Kiali console
7+
8+
To access the console, in the menu bar, click the *Application launcher* > *Kiali*.
9+
10+
1. In the {product-title} menu bar, click the *Application launcher* > *Kiali*.
11+
12+
2. Log in to the Kiali console with the same user name and password as you use to access the {product-title} console.
13+
14+
3. Select the project for your service in the *Namespace* field. If you have installed the Bookinfo example, select `bookinfo`.
15+
16+
.Procedure from the command line
17+
18+
. Run this command from the CLI to obtain the route and Kiali URL:
19+
+
20+
----
21+
$ oc get routes
22+
----
23+
+
24+
In the output on the `kiali` line, use the URL in the HOST/PORT column to open the Kiali console. Log in to the Kiali console with the same user name and password as you use to access the {product-title} console. Select the project for your service in the *Namespace* field.
25+
26+
When you first log in, you see the Overview page which displays all the namespaces in your mesh that you have permission to view.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
////
2+
This module is included in the following assemblies:
3+
- ossm-observability
4+
////
5+
6+
[id="ossm-observability-visual_{context}"]
7+
= Visualizing your service
8+
9+
The Kiali operator works with the telemetry data gathered in {ProductName} to provide graphs and real time network diagrams of the applications, services, and workloads in your namespace.
10+
11+
The Overview page displays all the namespaces that have services in your mesh. You can reveal deeper insights about the data traveling through your Service mesh or help identify problems with services or workloads in your service mesh with the following graphs and visualizations.
12+
13+
[id="ossm-observability-topology_{context}"]
14+
== Namespace graphs
15+
16+
The namespace graph is a map of the services, deployments and workflows in your namespace and arrows that show how data flows through them. To view a namespace graph:
17+
18+
1. Click *Graph* in the main navigation.
19+
+
20+
2. Select `bookinfo` from the *Namespace* menu.
21+
+
22+
image:ossm-kiali-graph.png[Kiali graph]
23+
24+
If your application uses version tags, like the Bookinfo sample application, you can see a Version graph. Select a graph from the Graph Type drop down menu. There are several graphs to choose from:
25+
26+
* The App graph shows an aggregate workload for all applications that are labeled the same.
27+
28+
* The Versioned App graph shows a node for each version of an app. All versions of an app are grouped together.
29+
30+
* The Workload graph shows a node for each workload in your service mesh. This graph does not require you to use the app and version labels. If your app does not use version labels, use this the graph.
31+
32+
* The Service graph shows a node for each service in your mesh but excludes all apps and workloads from the graph. It provides a high level view and aggregates all traffic for defined services.
33+
34+
To view a summary of metrics, select any node or edge in the graph to display its metric details in the summary details panel.
35+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[id="ossm-observability"]
2+
= Data visualization and observability
3+
include::modules/ossm-document-attributes.adoc[]
4+
:context: observability
5+
6+
toc::[]
7+
8+
You can view your application's topology, health and metrics in the Kiali console. If your service is having issues, the Kiali console offers ways to visualize the data flow through your service. You can view insights about the mesh components at different levels, including abstract applications, services, and workloads. It also provides an interactive graph view of your namespace in real time.
9+
10+
You can observe the data flow through your application if you have one installed. If you don't have your own application installed, you can see how observability works in {ProductName} by installing the xref:../../service_mesh/service_mesh_day_two/ossm-example-bookinfo.html#ossm-tutorial-bookinfo-overview_ossm-bookinfo-tutorial[Bookinfo sample application].
11+
12+
After installing the Bookinfo sample application, send traffic to the mesh. Enter the following command a few times:
13+
14+
----
15+
$ curl http://$GATEWAY_URL/productpage
16+
----
17+
18+
If your sample application is configured correctly, this command simulates a user visiting the `productpage` microservice of the application.
19+
20+
include::modules/ossm-observability-access.adoc[leveloffset=+1]
21+
22+
include::modules/ossm-observability-visual.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)