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.

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

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita ilBlog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

© 2024 Red Hat, Inc.