You can add Tanzu Kubernetes Grid Integrated Edition as a data source and fetch your cluster details in VMware Aria Operations for Networks.

Note: VMware Aria Operations for Networks supports only VMware Tanzu Kubernetes Grid Integrated Edition out of all the VMware Tanzu Kubernetes Grid offerings.

Prerequisites

  • You must ensure that:
    • The data source follows VMware Ports and Protocols supported in VMware Aria Operations for Networks. For more information, see VMware Ports and Protocols.
    • The data source and its version is supported in VMware Aria Operations for Networks. For more information, see Supported Products and Versions.
  • You must have the pks.clusters.admin privilege.
  • You must add the corresponding NSX-T Manager.

Procedure

  1. From the left navigation pane, go to Settings > Accounts and Data Sources.
  2. Click Add Source.
  3. Under Containers, select TKGI.
  4. On the Add a new TKGI Account or Source page, provide the following details:
    Field Name Description
    NSX-T Manager Select the NSX-T Manager that supports the underlying networking for the Tanzu Kubernetes Grid Integrated Edition deployment.
    Collector VM VMware Aria Operations for Networks automatically selects the corresponding collector VM associated with the chosen NSX-T Manager.
    Note: The collector VMs that are added as a NetFlow collector are not available in the list.
    API Hostname (FQDN) Enter the FQDN details of the Tanzu Kubernetes Grid Integrated Edition API server.
    Username Enter the Tanzu Kubernetes Grid Integrated Edition user name that has access to the clusters.
    Note: The user must have the pks.clusters.admin privileges.
    Password Enter the password.
    Note: Currently passwords having special characters like &,(,),|,<,>,` are not supported.
  5. Click Validate.
    You see the Validation Successful message.
  6. (Optional) In the Nickname text box, enter a nickname.
  7. (Optional) In the Notes text box, add a note if necessary.
  8. Click Submit.
    If you see the One or more Kubernetes Cluster Master hosts are not reachable from Collector VM error message, run the following commands on the collector VM:
    1. tkgi login -a TKGI_API_Server - u username -p password -k
    2. tkgi clusters

      Ensure that the cluster status is succeeded.

    3. tkgi cluster Kubernetes_Cluster_Name
    4. telnet Kubernetes_Master_Host Kubernetes_Master_port

      Verify the primary host is able to connect.

    5. Repeat step c and step d for all Kubernetes cluster that were discovered from step b.