You can view the list of all Antrea container clusters that are registered to NSX, and filter this list based on several filter criteria, such as External ID, Cluster Name, CNI Type, Type of Container Cluster, and some more criteria.

When the inventory of Antrea container clusters is available in NSX inventory, cluster administrators can do basic analysis and diagnostic tasks in the NSX Manager UI.

For example:
  • Verify whether a specific Kubernetes Service is up or down.
  • Verify the health status of Antrea Agent on each node in the container cluster.
  • View the Pods that are running in the cluster.
  • Check whether any Pods in the cluster are down.
  • Determine which Pods in the cluster are associated with a specific Kubernetes Service.
  • Read the specifications of Antrea Cluster Network Policies (ACNP).

Prerequisites

Antrea container clusters must be registered to NSX.

For a detailed information about registering an Antrea container cluster, see Registering an Antrea Container Cluster to NSX.

Procedure

  1. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  2. Navigate to Inventory > Containers > Clusters.
    A list of all container clusters in the NSX inventory is displayed in the table.
    Important: NSX Manager UI fetches the information about registered Antrea container clusters when you start the NSX Manager application in the browser.

    If you have no Antrea Kubernetes clusters registered to NSX and you register the first cluster while the UI is open, a forced browser refresh is required after navigating to the Clusters page. This manual browser refresh is required only once after the first cluster is registered, and not every time after a new Antrea Kubernetes cluster is registered to NSX. If there are existing Antrea Kubernetes clusters registered to NSX, you do not have to force refresh the browser for fetching the newly added clusters. Clicking the Refresh link on the Clusters page can fetch the updated list.

  3. To view the list of only Antrea container clusters, filter the table by CNI Type as Antrea.
  4. To view the information about all Nodes, Kubernetes Services, and Pods in a specific container cluster, click the hyperlinked number in the respective columns.
  5. Expand a row in the table to view more details about a specific Antrea container cluster.
    For example, view the following details:
    • Type of infrastructure for the container cluster (example: vSphere, AWS, Azure, Google, VMware Cloud, and so on).
    • Antrea version installed on the container cluster.
    • Number of Antrea Cluster Network Policies in the container cluster.
    • Specifications (YAML manifest) of the Antrea Cluster Network Policies. These policies are cluster-scoped.
    • Number of namespaces in the container cluster and the details of each namespace.

    This list does not mention all the inventory details that you can view for an Antrea container cluster. Check the Clusters page in the NSX Manager UI to know more.

    Note:
    • For Antrea container clusters, the Networking Status column displays Not Applicable. Currently, this column is used only for container clusters that use NSX Container Plugin (NCP) as the CNI.
    • When NSX discovers labels on container cluster objects, such as Nodes, Namespaces, Pods, Services, and so on, these labels are always displayed with a dis:k8s prefix in the NSX inventory. Remember that a label in Kubernetes maps to a tag in NSX, whereas a key in Kubernetes maps to a scope in NSX.