Integration : VMware Enterprise PKS with vRealize Operations Manager

VMware vRealize Operations Manager delivers intelligent operations management with application-to-storage visibility across physical, virtual, and cloud infrastructures. Using data collected from system resources, vRealize Operations Manager identifies issues in any monitored system component, often before the customer notices a problem. vRealize Operations Manager also frequently suggests corrective actions you can take to fix the problem right away.

In this blog post, we will see how to integrate Enterprise PKS with vROPS and make use of VMware vRealize Operations Management Pack for Container Monitoring to monitor complete Kubernetes objects like Namespaces, Clusters, Replica Sets, Nodes, Pods, and Containers. It also helps in troubleshooting by highlighting any performance issues and sends alerts for the objects that are monitored.

Enable cAdvisor :

Firstly, lets configure the PKS Tile to enable cadvisor which is a running daemon that collects, aggregates, processes, and exports information about running containers

To begin, login to the operations manager using admin account.

Click on the Enterprise PKS Tile.

Click on Settings > Monitoring and select Yes for Deploy cAdvisor option. Once done, click on the save button.

Click on Review Pending Changes to apply the settings to the PKS components.

These settings apply to any clusters created after you have saved these configuration settings and clicked Apply Changes. If the Upgrade all clusters errand has been enabled, these settings are also applied to existing clusters. Once done, click on Apply Changes.

Once the changes are applied successfully, you will see the confirmation as below.

If you connect to the PKS clusters and run kubectl get pods --all-namespaces, you will see the cAdvisor pods deployed.

Download Management Pack :

Before proceeding with configuring the vROPS, we should have the vRealize Operations Management Pack for Container Monitoring downloaded. If you have not downloaded it already, you can get it from here. Click on the Try button to download the management pack.

Now, login to the vROPS Manager GUI.

Click on Add a Management Pack

Click on the browse tab and select the management pack that is downloaded.

Once done click on upload

Once the upload is completed, click on next.

Management pack is being installed now

Once the install is completed, click on finish.

Now you will see the management pack installed. Click on not configured to configure it.

You can now see the PKS and Kubernetes adapters available. But they are not configured. Select the PKS adapter and click on the gear icon to configure the adapter.

Complete the instance settings as below to configure the PKS adapter.

Note: You can get the PKS API Hostname from OpsMan > PKS Tile > Settings > PKS API > API Hostname

Once done, click on the + icon to add the credentials.

Fill in the credential details with the below information.

  • Credential name : can be any name
  • PKS Username : admin
  • PKS UAA secret : Get it from OpsMan

To get the PKS UAA Management Admin Client’s secret, login to OpsManager > PKS Tile > Credentials > Pks Uaa Management Admin Client > Link to credentials.

Make a note of the credential from the redirected page as below.


Once the credentials are updated, click on OK.

Once the instance settings are updated, click on TEST CONNECTION.

If the test connection is successful, we will see a confirmation as below.

Now click on save settings

Once the settings are saved, you will see a confirmation

The PKS adapter has started collecting data now.

I have two PKS cluster created in my PKS environment. Now you will see both the clusters visible as adapters. Note that the collection state is failed for the Kubernetes adapters. This is because they are not configured. Select one Kubernetes adapter and click on the gear icon to configure it.

You can see that the settings are already applied to the Kubernetes adapter as they are fetched via PKS adapter. Click on Test Connection now.

Testing adapter instance connection.

Review and accept the certificate

Now we see the Kubernetes adapter collection state is starting

Select the adapter and click on the reload icon and now we see the collection state has changed to Collecting.

Perform the above steps for the second or any additional Kubernetes adapter to start the data collection.

Below we see the collection state is collecting for the PKS and Kubernetes adapters and the data is receiving.

Now from vROPS GUI, click on Dashboards > All Dashboards > Kubernetes Environment. You will see the collected data from the PKS environment in the VMware vRealize operations manager.

Now we can create any additional custom dashboards from vROPS based on our requirement and keep a close watch of the PKS environment. Hope this blog helps in understanding how we can easily integrate PKS with VMware vROPS.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a website or blog at

Up ↑

%d bloggers like this: