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.

Procedure

  • Add the following permission policies to your rbac-policy.csv file to create a topology-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
    1
    Grants the user the ability to see the Topology panel.
    2
    Grants the user the ability to view the pod logs.
    3
    Grants the user the ability to see the catalog item.

7.2. Using the Topology plugin

Prerequisites

Procedure

  1. Open your RHDH application and select a component from the Catalog page.
  2. Go to the TOPOLOGY tab and you can view the workloads such as deployments or pods as nodes.

    topology-user-1
  3. 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.

    topology-user-2
  4. Click the Open URL button on the top of a node.

    topology-user-3

    Click the Open URL button to access the associated Ingresses and run your application in a new tab.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.