vRealize Operations integration with Tanzu Mission Control for auto cluster discovery
Tags: vmware, kubernetes, integration, provisionedcluster
Published: 2021-07-11 08:42:03

---
title: vRealize Operations integration with Tanzu Mission Control for auto cluster discovery
published: true
date: 2021-03-31 22:45:12 UTC
tags: VMware,Kubernetes,Integration,provisionedcluster
canonical_url: https://veducate.co.uk/vrops-tanzu-mission-control/?utm_source=rss&utm_medium=rss&utm_campaign=vrops-tanzu-mission-control
---

A while ago I wrote about the [vRealize Operations Kubernetes Management pack](https://veducate.co.uk/vrealize-operations-monitoring-openshift-container-platform-environments/) which works for all CNCF conformant Kubernetes platforms.

One of the best features of this management pack is the Tanzu Mission Control (TMC) integration it offers with vRealize Operations (vROPs).

This means when you use TMC to provision Tanzu Kubernetes Grid (TKG) clusters, currently on AWS or on vSphere, they will be automatically registered within vROPs as well.

###### Install the Management Pack

1. Download the [management pack](https://marketplace.cloud.vmware.com/services/details/vrealize-operations-management-pack-for-kubernetes-1-5-1?slug=true) pak file.
2. Within vROPs go to Administration
3. Click on Repository
4. Scroll to the bottom of the page, and select “Add/Upgrade”
5. Select the pak file for installation and follow the wizard.

###### Create a CSP API Token

For the vROPs management pack adapter to be able to communicate with TMC, we need an API token.

1. Log into https://console.cloud.vmware.com
2. Change to correct organisation that contains your TMC instance
3. Click your name in the top right hand corner and select “My Account”[![vROps TMC Integration - creating a CSP Token - Select my account](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-creating-a-CSP-Token-Select-my-account.jpg?resize=370%2C505&ssl=1)](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-creating-a-CSP-Token-Select-my-account.jpg?ssl=1)
4. Select the “API Tokens” tab, and then “Generate a new API Token” button.[![vROps TMC Integration - creating a CSP Token - API Tokens](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-creating-a-CSP-Token-API-Tokens.jpg?resize=604%2C297&ssl=1)](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-creating-a-CSP-Token-API-Tokens.jpg?ssl=1)
5. Set your API Token name, expiry, and access control as required. Then click the generate button. [![vROps TMC Integration - creating a CSP Token - Generate a new api token](https://i0.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-creating-a-CSP-Token-Generate-a-new-api-token.jpg?resize=604%2C736&ssl=1)](https://i0.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-creating-a-CSP-Token-Generate-a-new-api-token.jpg?ssl=1)
6. You will be shown a dialog box with your generated token. Save this in a safe space we will use it later on. [![vROps TMC Integration - creating a CSP Token - Token Generated](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-creating-a-CSP-Token-Token-Generated.jpg?resize=604%2C280&ssl=1)](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-creating-a-CSP-Token-Token-Generated.jpg?ssl=1)

###### Connect vRealize Operations management pack adapter to Tanzu Mission Control

1. In vROPs UI go to Administration > Under Solutions, choose “Other Accounts” and click the “Add account” button. [![vROps TMC Integration - Add Account in vROPs](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs.jpg?resize=604%2C186&ssl=1)](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs.jpg?ssl=1)
2. From the account type list, choose Tanzu Mission Control. [![vROps TMC Integration - Add Account in vROPs - Account Type Tanzu Mission Control](https://i0.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs-Account-Type-Tanzu-Mission-Control.jpg?resize=604%2C180&ssl=1)](https://i0.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs-Account-Type-Tanzu-Mission-Control.jpg?ssl=1)
3. Fill out the necessary details on the New Account screen.
  1. For the credential click the + symbol, add in a name for the credential, and the CSP token you created earlier.
  2. Select your newly created credential.
4. Select the validate button.[![vROps TMC Integration - Add Account in vROPs - New Account](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs-New-Account.jpg?resize=604%2C291&ssl=1)](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs-New-Account.jpg?ssl=1)
5. Hopefully you get a successful message. [![vROps TMC Integration - Add Account in vROPs - New Account - Test Connection Successful](https://i0.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs-New-Account-Test-Connection-Successful.jpg?resize=300%2C116&ssl=1)](https://i0.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs-New-Account-Test-Connection-Successful.jpg?ssl=1)
6. You will see the account object in the Other Accounts view. [![vROps TMC Integration - Add Account in vROPs - New Account - Newly created account](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs-New-Account-Newly-created-account.jpg?resize=604%2C78&ssl=1)](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Add-Account-in-vROPs-New-Account-Newly-created-account.jpg?ssl=1)

###### Auto-Discovering Tanzu Kubernetes Grid Clusters

Now you have your account added, whenever you provision a new cluster using Tanzu Mission Control, cAdvisor will be configured in the Kubernetes cluster and a Kubernetes account type will be created in vROps automatically for you.

Below I’ve created a cluster in AWS, and we can see the object has been created in vROPs.

[![vROps TMC Integration - Provisioned cluster auto discovered](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Provisioned-cluster-auto-discovered.jpg?resize=604%2C421&ssl=1)](https://i2.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Provisioned-cluster-auto-discovered.jpg?ssl=1)

And finally, here is my cluster showing in the one of the Kubernetes Dashboards. [![vROps TMC Integration - Kubernetes Dashboard](https://i1.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Kubernetes-Dashboard.jpg?resize=604%2C437&ssl=1)](https://i1.wp.com/veducate.co.uk/wp-content/uploads/2021/03/vROps-TMC-Integration-Kubernetes-Dashboard.jpg?ssl=1)

This is a simple to implement feature but can make a massive difference in your ability to monitor your TKG clusters from the infrastructure view that vROPs provides. As your users create clusters via TMC, they don’t need to interact with the monitoring platform to ensure visibility.

Regards

[Follow @Saintdle](https://twitter.com/saintdle)<script async="" src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

[Dean Lewis](https://uk.linkedin.com/in/saintdle?trk=profile-badge)

 

The post [vRealize Operations integration with Tanzu Mission Control for auto cluster discovery](https://veducate.co.uk/vrops-tanzu-mission-control/) appeared first on [vEducate.co.uk](https://veducate.co.uk).