Questo contenuto non è disponibile nella lingua selezionata.
Chapter 7. Using the Topology plugin
Topology is a front-end plugin that enables you to view the workloads as nodes that power any service on the Kubernetes cluster.
7.1. Enable users to use the Topology plugin
The Topology plugin is defining additional permissions. When Authorization is enabled, to enable users to use the Topology plugin, grant them:
-
The
topology.view.read
read
permission to view the Topology panel. -
The
kubernetes.proxy
use
permission to view the pod logs. -
The
catalog-entity
read
permission to view the Red Hat Developer Hub software catalog items.
Prerequisites
Procedure
Add the following permission policies to your
rbac-policy.csv
file to create atopology-viewer
role that has access to the Topology plugin features, and add the role to the users requiring this authorization:g, user:default/<YOUR_USERNAME>, role:default/topology-viewer p, role:default/topology-viewer, topology.view.read, read, allow 1 p, role:default/topology-viewer, kubernetes.proxy, use, allow 2 p, role:default/topology-viewer, catalog-entity, read, allow 3
7.2. Using the Topology plugin
Prerequisites
- Your Red Hat Developer Hub instance is installed and running.
- You have installed the Topology plugin.
- You have enabled the users to use the Topology plugin.
Procedure
- Open your RHDH application and select a component from the Catalog page.
Go to the TOPOLOGY tab and you can view the workloads such as deployments or pods as nodes.
Select a node and a pop-up appears on the right side that contains two tabs: Details and Resources.
The Details and Resources tabs contain the associated information and resources for the node.
Click the Open URL button on the top of a node.
Click the Open URL button to access the associated Ingresses and run your application in a new tab.