forked from kgateway-dev/kgateway
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
10 changed files
with
249 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
changelog: | ||
- type: NON_USER_FACING | ||
resolvesIssue: true | ||
description: >- | ||
Adds documentation for using the Gloo UI with Gloo Gateway. |
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,17 @@ | ||
--- | ||
title: Gloo UI | ||
weight: | ||
description: You can install the Gloo UI with a separate Helm chart to get an at-a-glance view of the configuration, health, and compliance status of your Gloo Gateway setup and the workloads in your cluster. | ||
--- | ||
|
||
{{% notice note %}} | ||
{{< readfile file="static/content/enterprise_only_feature_disclaimer" markdown="true">}} | ||
{{% /notice %}} | ||
|
||
You can install the Gloo UI with a separate Helm chart to get an at-a-glance view of the configuration, health, and compliance status of your Gloo Gateway setup and the workloads in your cluster. | ||
|
||
To learn more, see the following guides: | ||
|
||
{{< children descriptions="true" >}} | ||
|
||
 |
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,143 @@ | ||
--- | ||
title: Explore the Gloo UI | ||
weight: 20 | ||
description: Explore the features of the Gloo UI to help you get an at-a-glance view of your Gloo Gateway environment. | ||
--- | ||
|
||
Explore the features of the Gloo UI to help you get an at-a-glance view of your Gloo Gateway environment. | ||
|
||
## About the Gloo UI | ||
|
||
* **Gloo Gateway dashboard**: Use the Gloo UI dashboard to quickly review the health of your Gloo Gateway setup, and any insights that were detected. If you use the Gloo UI in a multicluster setup, you can also review the health of the Gloo management server and agents. | ||
* **Insights**: The Gloo UI comes with an insights engine that automatically analyzes your Gloo Gateway setup for health issues. These issues are shared in the UI along with recommendations to harden your Gloo Gateway setup. The insights give you a checklist to address issues that might otherwise be hard to detect across your environment. For more information, see [Insights](#insights). | ||
* **Traffic resource overview**: Review the gateways, routes, policies, and destinations that are set up in your environment and the traffic management rules that you applied to them. | ||
* **Security and compliance**: The **Dashboard** and **Security Insights** pages of the Gloo UI can help you review the overall security posture of your setup, including insights and recommendations regarding your certificates, encrypted traffic, FIPS compliance, and more. | ||
* **Drill into apps and services**: Review what services can communicate with other services and how traffic between services is secured. | ||
* **Visualize and monitor metrics**: With the built-in Prometheus integration, the Gloo UI has access to workload-specific metrics, such as the number of requests that were received for a workload. This data is visualized in the Gloo UI graph. | ||
|
||
## Before you begin | ||
|
||
Follow the steps to [Set up the Gloo UI]({{< versioned_link_path fromRoot="/guides/observability/ui/setup/" >}}). | ||
|
||
## Launch the UI | ||
|
||
1. Port-forward the Gloo UI pod. | ||
```sh | ||
kubectl port-forward deployment/gloo-mesh-ui -n gloo-system 8090 | ||
``` | ||
2. Open the Gloo UI dashboard. | ||
```sh | ||
open http://localhost:8090/dashboard | ||
``` | ||
 | ||
|
||
|
||
## Home | ||
|
||
View the health and performance of your Gloo Gateway control and data plane components, and view recommendations to harden your setup by using the **Dashboard** and **Insights** pages. | ||
|
||
### Dashboard | ||
|
||
The Gloo UI dashboard provides an at-a-glance overview of your Gloo Gateway setup and the health of your components. If you have gateways that use the Kubernetes Gateway API, you can also view request rates, failures, and request latency on the dashboard. Note the the request rate, failures, and latency is not available when you use gateways that are based on the Gloo Edge API. | ||
|
||
 | ||
|
||
### Insights | ||
|
||
The Gloo UI comes with an insights engine that automatically analyzes your Gloo Gateway setup for health issues. These issues are displayed in the UI along with recommendations to harden your setups. The insights give you a checklist to address issues that might otherwise be hard to detect across your environment. | ||
|
||
 | ||
|
||
## Inventory | ||
|
||
The **Inventory** section provides an at-a-glance look at the health of registered clusters and discovered services that make up your Gloo Gateway environment. | ||
|
||
### Clusters | ||
|
||
On the **Clusters page**, review details of the cluster where Gloo Gateway is installed, such as insights, the health of the Gloo Gateway control and data planes, and applied routes, gateways, destinations, and policies. | ||
|
||
|
||
 | ||
|
||
## Traffic | ||
|
||
The **Traffic** section provides an overview of deployed Gateways, routes, policies, and destinations. | ||
|
||
|
||
### Gateways | ||
|
||
On the **Gateways** page, you can view the YAML configuration of gateway-related resources, such as gateway proxies, or MatchableHTTPGateways and MatchableTCPGateways. | ||
|
||
To filter the list of resources, you can choose between the following options: | ||
* Use the **Status** field to filter between healthy and unhealthy gateway resources. | ||
* Use the **Label key** and **value** fields to filter resources by their labels. | ||
* Use the **Filter by** dropdown list to display the resource types that you are interested in. | ||
* Use the **Search** bar to find a resource by name, namespace, or other properties | ||
|
||
 | ||
|
||
|
||
### Routes | ||
|
||
On the **Routes** page, you can view the VirtualServices and RouteTables that you created in your cluster. Click **YAML** to view the YAML configuration of your route. | ||
|
||
To filter the list of resources, you can choose between the following options: | ||
* Use the **Status** field to filter between healthy and unhealthy gateway resources. | ||
* Use the **Label key** and **value** fields to filter resources by their labels. | ||
* Use the **Filter by** dropdown list to display the resource types that you are interested in. | ||
* Use the **Search** bar to find a resource by name, namespace, or other properties | ||
|
||
 | ||
|
||
|
||
### Policies | ||
|
||
On the **Policies** page, you can view any policies that you applied in your environment, such as RouteOption, VirtualHostOption, ListenerOption, HttpListenerOptions, AuthConfigs, and RatelimitConfi. To view the policy configuration, you can click **YAML**. | ||
|
||
To filter the list of resources, you can choose between the following options: | ||
* Use the **Status** field to filter between healthy and unhealthy gateway resources. | ||
* Use the **Label key** and **value** fields to filter resources by their labels. | ||
* Use the **Filter by** dropdown list to display the resource types that you are interested in. | ||
* Use the **Search** bar to find a resource by name, namespace, or other properties | ||
|
||
 | ||
|
||
### Destinations | ||
|
||
On the **Destination** page, review a list of discovered destinations, such as Kubernetes services and Gloo Gateway Upstreams. | ||
|
||
To filter the list of resources, you can choose between the following options: | ||
* Use the **Status** field to filter between healthy and unhealthy gateway resources. | ||
* Use the **Label key** and **value** fields to filter resources by their labels. | ||
* Use the **Filter by** dropdown list to display the resource types that you are interested in. | ||
* Use the **Search** bar to find a resource by name, namespace, or other properties | ||
|
||
 | ||
|
||
For Kubernetes services, you click on **Details** to perform the following tasks: | ||
* Review the destination's configuration with the **YAML** button. The YAML details can help you debug the service. | ||
* See an analysis of the service’s error rate and latency in the **Service Signals** card. | ||
* View the **Graph** tab to visualize the network traffic that reaches your destination. For more information about how to use the graph, see [Graph](#graph). | ||
|
||
|
||
## Security | ||
Review details of the security setup of your Gloo Gateway environment. | ||
### Certificates | ||
|
||
{{% notice note %}} | ||
This view is not supported when using Gloo Gateway with the Gloo Edge API. It is supported only for setups that use the Kubernetes Gateway API. For more information, see [Certificates](https://docs.solo.io/gateway/latest/observability/ui/explore/#certificates) in the Gloo Gateway (Kubernetes Gateway API) documentation. | ||
{{% /notice %}} | ||
|
||
|
||
## Observability | ||
|
||
Visualize traffic in the Gloo UI. | ||
|
||
### Graph | ||
|
||
{{% notice note %}} | ||
The Gloo UI Graph visualizes traffic in your cluster and is available only for gateways that use the Kubernetes Gateway API. Gateways that use the Gloo Edge API are not supported. To learn more about the Graph and how you can visualize traffic in your cluster, see [Graph](https://docs.solo.io/gateway/latest/observability/ui/explore/#graph) in the Gloo Gateway (Kubernetes Gateway API) documentation. | ||
{{% /notice %}} | ||
|
||
 |
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,84 @@ | ||
--- | ||
title: Set up the Gloo UI | ||
weight: 10 | ||
description: Install the Gloo UI and start gaining insights into the configuration and health of your Gloo Gateway setup and the workloads in your cluster. | ||
--- | ||
Install the Gloo UI to get an at-a-glance view of the configuration, health, and compliance status of your Gloo Gateway setup and the workloads in your cluster. | ||
|
||
To learn more about the features of the Gloo UI, see [About the Gloo UI]({{< versioned_link_path fromRoot="/guides/observability/ui/explore#about-the-gloo-ui" >}}). | ||
|
||
## Before you begin | ||
|
||
Follow the steps to [install Gloo Gateway with the Enterprise Edition]({{< versioned_link_path fromRoot="/installation/enterprise/" >}}). | ||
|
||
## Set up the Gloo UI | ||
|
||
Install the Gloo UI components in your cluster. | ||
|
||
1. Set the name of your cluster and your Gloo Gateway license key as an environment variable. | ||
```sh | ||
export CLUSTER_NAME=<cluster-name> | ||
export GLOO_GATEWAY_LICENSE_KEY=<license-key> | ||
``` | ||
|
||
2. Add the Helm repo for the Gloo UI. | ||
```sh | ||
helm repo add gloo-platform https://storage.googleapis.com/gloo-platform/helm-charts | ||
helm repo update | ||
``` | ||
|
||
3. Install the custom resources for the Gloo UI. | ||
```sh | ||
helm upgrade -i gloo-platform-crds gloo-platform/gloo-platform-crds \ | ||
--namespace=gloo-system \ | ||
--version={{< readfile file="/static/content/version-platform.md" markdown="true">}} \ | ||
--set installEnterpriseCrds=false | ||
``` | ||
|
||
4. Install the Gloo UI and configure it for Gloo Gateway. | ||
```yaml | ||
helm upgrade -i gloo-platform gloo-platform/gloo-platform \ | ||
--namespace gloo-system \ | ||
--version={{< readfile file="static/content/version-platform.md" markdown="true">}} \ | ||
-f - <<EOF | ||
common: | ||
adminNamespace: "gloo-system" | ||
cluster: $CLUSTER_NAME | ||
featureGates: | ||
insightsConfiguration: true | ||
glooInsightsEngine: | ||
enabled: true | ||
glooUi: | ||
enabled: true | ||
licensing: | ||
glooGatewayLicenseKey: $GLOO_GATEWAY_LICENSE_KEY | ||
prometheus: | ||
enabled: true | ||
telemetryCollector: | ||
enabled: true | ||
mode: deployment | ||
replicaCount: 1 | ||
EOF | ||
``` | ||
|
||
5. Verify that the Gloo UI components are successfully installed. | ||
```sh | ||
kubectl get pods -n gloo-system | ||
``` | ||
|
||
Example output: | ||
{{< highlight yaml "hl_lines=4-6" >}} | ||
NAME READY STATUS RESTARTS AGE | ||
extauth-f7695bf7f-f6dkt 1/1 Running 0 10m | ||
gloo-587b79d556-tpvfj 1/1 Running 0 10m | ||
gloo-mesh-ui-66db8d9584-kgjld 3/3 Running 0 72m | ||
gloo-telemetry-collector-68b8cf6f49-zhx87 1/1 Running 0 57m | ||
prometheus-server-7484d8bfd-tx5s4 2/2 Running 0 72m | ||
rate-limit-557dcb857f-9zq2t 1/1 Running 0 10m | ||
redis-5d6c6bcd4-cnmbm 1/1 Running 0 10m | ||
{{< /highlight >}} | ||
|
||
|
||
## Next | ||
|
||
Continue with [exploring the features of the Gloo UI]({{< versioned_link_path fromRoot="/guides/observability/ui/explore" >}}). |
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.
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.