-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from stakater/SA-5031-Docs-0.10.0
SA-5031-Docs-0.10.0
- Loading branch information
Showing
7 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Custom Metrics Support | ||
|
||
Multi Tenant Operator now supports custom metrics for templates, template instances and template group instances. This feature allows users to monitor the usage of templates and template instances in their cluster. | ||
|
||
To enable custom metrics and view them in your OpenShift cluster, you need to follow the steps below: | ||
|
||
- Ensure that cluster monitoring is enabled in your cluster. You can check this by going to `Observe` -> `Metrics` in the OpenShift console. | ||
- Navigate to `Administration` -> `Namespaces` in the OpenShift console. Select the namespace where you have installed Multi Tenant Operator. | ||
- Add the following label to the namespace: `openshift.io/cluster-monitoring=true`. This will enable cluster monitoring for the namespace. | ||
- To ensure that the metrics are being scraped for the namespace, navigate to `Observe` -> `Targets` in the OpenShift console. You should see the namespace in the list of targets. | ||
- To view the custom metrics, navigate to `Observe` -> `Metrics` in the OpenShift console. You should see the custom metrics for templates, template instances and template group instances in the list of metrics. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Graph Visualization on MTO Console | ||
|
||
Effortlessly associate tenants with their respective resources using the enhanced graph feature on the MTO Console. This dynamic graph illustrates the relationships between tenants and the resources they create, encompassing both MTO's proprietary resources and native Kubernetes/OpenShift elements. | ||
|
||
Example Graph: | ||
|
||
```mermaid | ||
graph LR; | ||
A(alpha)-->B(dev); | ||
A-->C(prod); | ||
B-->D(limitrange); | ||
B-->E(owner-rolebinding); | ||
B-->F(editor-rolebinding); | ||
B-->G(viewer-rolebinding); | ||
C-->H(limitrange); | ||
C-->I(owner-rolebinding); | ||
C-->J(editor-rolebinding); | ||
C-->K(viewer-rolebinding); | ||
``` | ||
|
||
Explore with an intuitive graph that showcases the relationships between tenants and their resources. The MTO Console's graph feature simplifies the understanding of complex structures, providing you with a visual representation of your tenant's organization. | ||
|
||
To view the graph of your tenant, follow the steps below: | ||
|
||
- Navigate to `Tenants` page on the MTO Console using the left navigation bar. | ||
![Tenants](../images/graph-1.png) | ||
- Click on `View` of the tenant for which you want to view the graph. | ||
![Tenant View](../images/graph-2.png) | ||
- Click on `Graph` tab on the tenant details page. | ||
![Tenant Graph](../images/graph-3.png) |