Skip to content

Commit 67f90f6

Browse files
Merge pull request #65700 from gwynnemonahan/OSSM-4853
OSSM-4853 OSSMC Documentation GA (2.5 Release)
2 parents a9cb3ce + 7ae8bac commit 67f90f6

7 files changed

+197
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3833,6 +3833,8 @@ Topics:
38333833
File: ossm-federation
38343834
- Name: Extensions
38353835
File: ossm-extensions
3836+
- Name: OpenShift Service Mesh Console plugin
3837+
File: ossm-kiali-ossmc-plugin
38363838
- Name: 3scale WebAssembly for 2.1
38373839
File: ossm-threescale-webassembly-module
38383840
- Name: 3scale Istio adapter for 2.0
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * service_mesh/v2x/ossm-kiali-ossmc-plugin.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="ossm-kiali-ossmc-plugin-install-cli_{context}"]
7+
= Installing OpenShift Service Mesh Console plugin using the CLI
8+
9+
You can install the {SMProductName} (OSSMC) plugin using the CLI, instead of the {product-title} web console.
10+
11+
.Prerequisites
12+
13+
* OpenShift 4.12+ is installed.
14+
* Kiali Operator provided by Red Hat 1.73 is installed.
15+
* {SMProductName} (OSSMC) is installed.
16+
* Kiali Server is installed.
17+
18+
.Procedure
19+
20+
. Create a small `OSSMConsole` custom resource (CR) to instruct the operator to install the plugin:
21+
+
22+
[source, yaml]
23+
----
24+
cat <<EOM | oc apply -f -
25+
apiVersion: kiali.io/v1alpha1
26+
kind: OSSMConsole
27+
metadata:
28+
namespace: openshift-operators
29+
name: ossmconsole
30+
EOM
31+
----
32+
+
33+
[NOTE]
34+
====
35+
The plugin resources are deployed in the same namespace where the `OSSMConsole` CR is created.
36+
====
37+
+
38+
. Go to the {product-title} web console.
39+
. Refresh the browser window to see the new OSSMC plugin menu options.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * service_mesh/v2x/ossm-kiali-ossmc-plugin.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="ossm-kiali-ossmc-plugin-install-web-console_{context}"]
7+
= Installing OpenShift Service Mesh Console plugin using the {product-title} web console
8+
9+
You can install the OpenShift Service Mesh Console (OSSMC) plugin using the {product-title} web console.
10+
11+
.Prerequisites
12+
13+
* OpenShift 4.12+ is installed.
14+
* Kiali Operator provided by Red Hat 1.73 is installed.
15+
* {SMProductName} (OSSM) is installed.
16+
* Kiali Server is installed.
17+
18+
.Procedure
19+
20+
. Navigate to *Installed Operators* -> *Operator details*.
21+
. Use the *Create OSSMConsole* form to create an instance of the `OSSMConsole` custom resource (CR).
22+
* *Name* and *Version* are required fields.*Name* and *Version* are required fields.
23+
+
24+
[NOTE]
25+
====
26+
The *Version* field must match the `spec.version` field in your Kiali CR.
27+
====
28+
. Click *Create*.
29+
. Navigate back to the {product-title} web console and use the new menu options for visibility into your Service Mesh.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * service_mesh/v2x/ossm-kiali-ossmc-plugin.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="ossm-kiali-ossmc-plugin-uninstall-cli_{context}"]
7+
= Uninstalling OpenShift Service Mesh Console plugin using the CLI
8+
9+
You can uninstall the {SMProductName} (OSSMC) plugin by using the {oc-first}.
10+
11+
.Procedure
12+
13+
. Remove the `OSSMC` custom resource (CR) by running the following command:
14+
+
15+
[source,terminal]
16+
----
17+
oc delete ossmconsoles <custom_resource_name> -n <custom_resource_namespace>
18+
----
19+
+
20+
. Verify all CRs are deleted from all namespaces by running the following command:
21+
+
22+
[source,terminal]
23+
----
24+
for r in $(oc get ossmconsoles --ignore-not-found=true --all-namespaces -o custom-columns=NS:.metadata.namespace,N:.metadata.name --no-headers | sed 's/ */:/g'); do oc delete ossmconsoles -n $(echo $r|cut -d: -f1) $(echo $r|cut -d: -f2); done
25+
----
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * service_mesh/v2x/ossm-kiali-ossmc-plugin.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="ossm-kiali-ossmc-plugin-uninstall-web-console_{context}"]
7+
= Uninstalling OpenShift Service Mesh Console plugin using the {product-title} web console
8+
9+
You can uninstall the {SMProductName} (OSSMC) plugin by using the {product-title} web console.
10+
11+
.Procedure
12+
13+
. Navigate to *Installed Operators* -> *Operator details*.
14+
. Select the *OpenShift Service Mesh Console* tab.
15+
. Click *Delete OSSMConsole* from the options menu.
16+
17+
[NOTE]
18+
====
19+
If you intend to also uninstall the Kiali Operator provided by Red Hat, you must first uninstall the OSSMC plugin and then uninstall the Operator. If you uninstall the Operator before ensuring the `OSSMConsole` CR is deleted then you may have difficulty removing that CR and its namespace. If this occurs then you must manually remove the finalizer on the CR in order to delete it and its namespace. You can do this using: `$ oc patch ossmconsoles <CR name> -n <CR namespace> -p '{"metadata":{"finalizers": []}}' --type=merge`.
20+
====
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// Module included in the following assemblies:
2+
//
3+
//* *service_mesh/v2x/ossm-kiali-ossmc-plugin.adoc
4+
5+
6+
:_mod-docs-content-type: CONCEPT
7+
[id="ossm-kiali-ossmc-plugin-user-guide_{context}"]
8+
= About the OpenShift Service Mesh Console plugin
9+
//In the title include nouns or noun phrases that are used in the body text.
10+
//Do not start the title of concept modules with a verb.
11+
12+
The {SMProductName} Console (OSSMC) plugin is an extension to the {product-title} web console that provides visibility into your Service Mesh.
13+
14+
[WARNING]
15+
====
16+
The {SMPRoductName} Console (OSSMC) plugin only supports a single Kiali instance. Whether that Kiali instance is configured to access only a subset of OpenShift projects or has access cluster-wide to all projects does not matter. However, only a single Kiali instance can be accessed.
17+
====
18+
19+
You can install the OSSMC plugin in only one of two ways: using the {product-title} web console, or through the CLI.
20+
21+
Installing the OSSMC plugin creates a new category, *Service Mesh*, in the main {product-title} web console navigation. Click *Service Mesh* to see:
22+
23+
* *Overview* for a summary of your mesh displayed as cards that represent the namespaces in the mesh
24+
* *Graph* for a full topology view of your mesh represented by nodes and edges, each node representing a component of the mesh and each edge representing traffic flowing through the mesh between components
25+
* *Istio config* for a list of all Istio configuration files in your mesh with a column that provides a quick way to know if the configuration for each resource is valid
26+
27+
Under *Workloads*, the OSSMC plugin adds a *Service Mesh* tab that contains the following subtabs:
28+
29+
* *Overview* subtab provides a summary of the selected workload including a localized topology graph showing the workload with all inbound and outbound edges and nodes
30+
* *Traffic* subtab displays information about all inbound and outbound traffic to the workload.
31+
* *Logs* subtab shows the logs for the workload's containers
32+
+
33+
--
34+
** You can view container logs individually or in a unified fashion, ordered by log time. This is especially helpful to see how the Envoy sidecar proxy logs relate to your workload's application logs.
35+
** You can enable the tracing span integration which then allows you to see which logs correspond to trace spans.
36+
--
37+
+
38+
* *Metrics* subtab shows both inbound and outbound metric graphs in the corresponding subtabs. All the workload metrics can be displayed here, providing you with a detail view of the performance of your workload.
39+
+
40+
--
41+
** You can enable the tracing span integration which allows you to see which spans occurred at the same time as the metrics. Click a span marker in the graph to view the specific spans associated with that timeframe.
42+
--
43+
+
44+
* *Traces* provides a chart showing the trace spans collected over the given timeframe.
45+
+
46+
--
47+
** Click a bubble to drill down into those trace spans; the trace spans can provide you the most low-level detail within your workload application, down to the individual request level. The trace details view gives further details, including heatmaps that provide you with a comparison of one span in relation to other requests and spans in the same timeframe.
48+
** If you hover over a cell in a heatmap, a tooltip gives some details on the cell data.
49+
--
50+
+
51+
* *Envoy* subtab provides information about the Envoy sidecar configuration. This is useful when you need to dig down deep into the sidecar configuration when debugging things such as connectivity issues.
52+
53+
Under *Networking*, the OSSMC plugin adds a *Service Mesh* tab to Services and contains the *Overview*, *Traffic*, *Inbound Metrics*, and *Traces* subtabs that are similar to the same subtabs found in *Workloads*.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="ossm-kiali-ossmc-plugin"]
3+
= OpenShift Service Mesh Console plugin
4+
include::_attributes/common-attributes.adoc[]
5+
:context: ossm-kiali-ossmc-plugin
6+
7+
toc::[]
8+
9+
The {SMProductName} (OSSMC) plugin is an extension to the {product-title} web console that provides visibility into your Service Mesh. With the OSSMC plugin installed, a new *Service Mesh* menu option is available in the navigation menu on the left side of the web console, as well as new *Service Mesh* tabs that enhance the existing *Workloads* and *Services* console pages.
10+
11+
[IMPORTANT]
12+
====
13+
If you are using a certificate that your browser does not initially trust, you must tell your browser to trust the certificate first before you are able to access the OSSMC plugin. To do this, go to the Kiali standalone user interface (UI) and tell the browser to accept its certificate.
14+
====
15+
16+
include::modules/ossm-kiali-ossmc-plugin-user-guide.adoc[leveloffset=+1]
17+
18+
include::modules/ossm-kiali-ossmc-plugin-install-web-console.adoc[leveloffset=+1]
19+
20+
include::modules/ossm-kiali-ossmc-plugin-install-cli.adoc[leveloffset=+1]
21+
22+
include::modules/ossm-kiali-ossmc-plugin-uninstall-web-console.adoc[leveloffset=+1]
23+
24+
include::modules/ossm-kiali-ossmc-plugin-uninstall-cli.adoc[leveloffset=+1]
25+
26+
[role="_additional-resources"]
27+
[id="additional-resources_ossm-kiali-ossmc-plugin"]
28+
== Additional resources
29+
* link:https://kiali.io/docs/configuration/ossmconsoles.kiali.io/#.spec.kiali.serviceNamespace[.spec.kiali.serviceNamespace]

0 commit comments

Comments
 (0)