Prerequisites

Verify that you have installed vRealize Operations Management Pack for Container Monitoring.

Procedure

  1. From the main menu of vRealize Operations Manager, click Administration, and then in the left pane, click Solutions.
  2. From the Solutions list, select VMware vRealize Operations Management Pack for Container Monitoring.
  3. Click the Configure icon to edit an object.
  4. Enter the display name of the adapter.
  5. Enter the http URL of the Kubernetes master node in the Master URL text box.
  6. Select either Kubelet or DaemonSet as the cAdvisor Service. You can select a cAdvisor service running inside the Kubelet or deployed externally as a DaemonSet.
    Note:

    By default, some Kubernetes deployments might have cAdvisor service disabled on Kubelet. In such a situation, the cAdvisor service must be enabled on Kubelet OR a standalone cAdvisor service must be deployed as a DaemonSet.

  7. Enter the port number if cAdvisor is running as a DaemonSet.
  8. Enter the Credential details of the Master URL.
    1. Click the Add New icon.
    2. Select the authentication to connect to the Kubernetes API Server. vRealize Operations Management Pack for Container Monitoring currently supports basic, client certificate, and token authentication.
      Table 1. Authentication Types

      Authentication

      Description

      Basic Auth

      Uses HTTP basic authentication to authenticate API requests through authentication plugins.

      Client Certification Auth

      Uses client certificates to authenticate API requests through authentication plugins.

      Token Auth

      Uses bearer tokens to authenticate API requests through authentication plugins.

      For more information, see Kubernetes Authentication.

  9. Under Advanced Settings
    1. Select the collector that is used to manage the adapter processes.
    2. If the Kubernetes cluster is running on vCenter Server and the same server is monitored by the vCenter Adapter instance, you can view a link from the Kubernetes node to the vSphere VM. To view the link, enter the IP address of the vCenter Server instance.
    3. If you want to monitor Java Process, then enable this option.
    4. If you want to delete the non-existent objects for a defined period, then select the time frame from the drop-down menu.
      Note:

      The object deletion schedule is applicable to the Container Monitoring management pack only, and is over and above the global setting object deletion policy.

    5. Click Save Settings.
  10. Click Close.