This topic describes how to view the network topologies for the Services and Deployments in a Kubernetes cluster.

Go to the cluster network topologies page from the cluster overview page

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Container Monitoring.
  3. In the top navigation bar of the MNS console, select the region where your cluster is deployed.
  4. On the Container Monitoring page, click the name of the Kubernetes cluster whose network topologies you want to view.
  5. On the cluster overview page, click Cluster network topology in the upper-right corner.
    After you click the button, the Service tab automatically appears. On this tab, you can view the network topology of Services in all namespaces. You can click the Deployment tab to view the network topology of Deployments.

Go to the cluster network topologies page from a resource list

  1. Log on to the ARMS console.
  2. In the left-side navigation pane, click Container Monitoring.
  3. In the top navigation bar of the MNS console, select the region where your cluster is deployed.
  4. On the Container Monitoring page, click the name of the Kubernetes cluster whose network topologies you want to view.
  5. In the Namespace section of the cluster overview page, click the intersection of a namespace and a resource type.
  6. In the resource list that appears, click Cluster network topology in the upper-right corner.
    After you click the button in a resource list except for the Deployment list, the Service tab automatically appears. On this tab, you can view the network topology of Services in all namespaces. You can click the Deployment tab to view the network topology of Deployments.
    Note If you click Cluster network topology in the Deployment list, the Deployment tab automatically appears. On this tab, you can view the network topology of Deployments.

Supported operations

In the left-side pane of a network topology, you can perform the following operations:
  • In the Time section, select a time range.
  • From the NameSpace and Label drop-down lists, select a namespace and a label to filter the resources. You can click the name of a resource to find the resource in the topology and view the resource details on the right side. For more information, see Service details and Depdetails.
On the canvas of a network topology, you can perform the following operations:
  • Click the Expand icon icon in the upper-right corner of the box for a namespace to show all the Services or Deployments in this namespace. Then, you can click the Fold icon icon to hide the Services or Deployments.
  • Move the pointer over a resource to view the number of requests, the number of errors, and the response time of this resource.
  • Move the pointer over the line between two resources to view the number of requests, the number of errors, and the response time between these resources.
    Note If an error occurs between two resources or the response time between them is longer than 500 ms, the connection between the two resources is abnormal. In this case, the line is displayed in red.
  • Click a resource to view its details on the right side. For more information, see Service details and Depdetails.
  • Right-click a resource and select View container layer (3D) to view the 3D topology at the container layer for this resource. For more information, see View the 3D topology at the container layer.
  • Right-click a resource and select Only upstream, Only downstream, or Only upstream and downstream to view the topology between the current resource and its parent resource, the topology between the current resource and its child resource, or the topology among the current resource, its parent resource, and its child resource.
  • Right-click the blank area and select Fold all or Expand all to hide or show all the resources in the namespaces.
In the lower part of a network topology, you can perform the following operations:
  • Click the Zoom In icon icon or scroll the mouse wheel up to zoom in the topology.
  • Click the Zoom Out icon icon or scroll the mouse wheel down to zoom out the topology.
  • Click the Expand Topology icon icon to show all the resources in the namespaces. Alternatively, you can right-click the blank area and select Expand all.
  • Click the Fold Topology icon icon to hide all the resources in the namespaces. Alternatively, you can right-click the blank area and select Fold all.
  • Click the Adjust Topology icon icon to adjust the topology size to fit the page.
  • Click the Refresh icon icon to refresh the topology.

Network topology of Services

The network topology of Services displays the topological relationships among the Services in different namespaces.

Container monitoring - Service topology

By default, each box for a namespace in the topology displays the number of Services in this namespace. The circle outside the number indicates the distribution of normal and abnormal Services. The yellow part indicates the proportion of abnormal Services, whereas the blue part indicates the proportion of normal Services.

After you show the Services in a namespace, the box for this namespace displays these Services and the number of requests for each Service. If an error occurs within a Service or the response time of the Service is longer than 500 ms, the Service is considered abnormal. In this case, this Service is displayed in yellow.

Network topology of Deployments

The network topology of Deployments displays the topological relationships among the Deployments in different namespaces.

Container monitoring - Deployment topology

By default, each box for a namespace in the topology displays the number of Deployments in this namespace. The circle outside the number indicates the distribution of normal and abnormal Deployments. The yellow part indicates the proportion of abnormal Deployments, whereas the blue part indicates the proportion of normal Deployments.

After you show the Deployments in a namespace, the box for this namespace displays these Deployments and the number of requests for each Deployment. If an error occurs within a Deployment or the response time of the Deployment is longer than 500 ms, the Deployment is considered abnormal. In this case, this Deployment is displayed in yellow.