< img height="1" width="1" style="display:none;" alt="" src="https://px.ads.linkedin.com/collect/?pid=3131724&fmt=gif" />

Cross-cluster Pod Query

This section describes how to query pods across clusters in the Whizard Observability Center.

For a single cluster, you can search for pods on the cluster’s pod page by pod name and pod IP address.

For a multi-cluster environment, you can search for specific pod information across clusters in the Whizard Observability Center by pod name or pod IP address.

Prerequisites

  • You should have the platform-admin role on the KubeSphere platform. For more information, see Users and Platform Roles.

  • The host cluster and member clusters that need monitoring must have the Whizard Observability Center enabled.

    Note

    If the member cluster does not have the Whizard Observability Center enabled, the Whizard Observability Center will not be able to retrieve data from the member cluster.

Steps

  1. Log in to the KubeSphere web console with a user having the platform-admin role.

  2. Click grid in the upper-right corner of the page and click Whizard Observability Center.

  3. Click Resource Query > Pods in the left navigation pane.

    • The pod list provides the following information:

      ParameterDescription

      Name

      The name of the pod.

      Status

      The status of the pod.

      • Running: The pod has been assigned to a node, all containers in the pod have been created, and at least one container is running, starting, or restarting.

      • Pending: The pod has been accepted by the system, but at least one container has not been created or is not running. This state may indicate that the pod is waiting for scheduling or for the container image to be downloaded.

      • Completed: All containers in the pod have terminated successfully (with an exit code of 0) and will not be restarted.

      • Failed: All containers in the pod have terminated, and at least one container has terminated with a non-zero exit code.

      • Unknown: The system is unable to get the status of the pod. This state usually occurs when the system fails to communicate with the host where the pod is located.

      Node

      The node where the pod is located and the node’s IP address.

      Pod IP Address

      The virtual IP address of the pod within the cluster.

      Project

      The project the pod belongs to.

      Cluster

      The cluster the pod belongs to.

      Update Time

      The update time of the pod.

    • Select a cluster from the dropdown list at the top left of the list to view pods in a specific cluster.

    • Click the search box above the list to search for pods by name, status, node, project, or pod IP address.

    • Click refresh in the upper right corner of the list to refresh the list information.

    • Click cogwheel in the upper right corner of the list to customize the information displayed in the list.

    • Click the pod name to enter the pod details page.

    • Click the node name to enter the node details page.

Receive the latest news, articles and updates from KubeSphere


Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.

What’s on this Page