Integrate K8S cluster with Tanzu Observability (TO)

In this blog post, I would like to introduce Tanzu Observability service from VMware for monitoring and observability of k8s cluster. I have taken example of minikube cluster, but TO supports any k8s cluster e.g. VMware Tanzu Kubernetes Grid, AKS, EKS, OCP etc.

What is Tanzu Observability?
Tanzu Observability by VMware is a SaaS solution that delivers immediate visibility across all Tanzu components and cloud applications, helping engineering teams to monitor, troubleshoot, and plan their entire stack. TO empowers both Tanzu administrators and developers with sharable, self-service metrics to release code to production faster. We will talk specifically about how TO can monitor k8s cluster but TO can do much more. You can learn more on TO here.

Let’s Integrate minikube cluster with TO
Note: You can request for 30 days trial and explore the TO capabilities. Request for trial using link.

  1. Login to TO, you will see landing page like below.
TO Landing page

2. Click on k8s icon in monitor your containers section. You will see below options.

3. You can make selection based on what type of k8s cluster you are running in your environment. In my case, I have selection “Install in k8s cluster” for minikube.

4. You will now be promoted to install TO agents in your k8s cluster, there are two options here:
 a) using helm chart
 b) using k8s manifest files manually

5. I will go with helm chart method as its much easier and straight forward. ensure that helm v3 is installed on your system where you will run the command.

6. Use below commands to add helm repo and install chart

# Add helm repo
helm repo add wavefront && helm repo update

7. Enter the cluster name in text box and helm install command will be updated on UI, that you can copy and run. e.g.

kubectl create namespace wavefront && helm install wavefront wavefront/wavefront \
--set wavefront.url= \
--set wavefront.token=bb580d36-f32f-41e1-bbaf-48e6bf766e5e \
--set clusterName="dt-minikube" --namespace wavefront

8. Click on Next Button and you will see the progress like below.

9. After few sec, you will see the metrics is completed.

In case it is delayed, monitor the TO agent installation progress on your k8s cluster. e.g. POD should come up in running status.

$ kubectl get pods -n wavefront
wavefront-collector-lb2zp 1/1 Running 0 22m
wavefront-proxy-867cb98cf8-qqqxs 1/1 Running 0 22m

10. Wait for some more time and you will see that all are showing green.

11. Click on Done

12. You can explore various options like Metrics, Dashboards, Alerts. TO provide multiple dashboard, metrics and alerts out of the box that you can use and get started quickly. I found dashboards very useful. Here is output from one of the dashboard.

See the list of available dashboards.

13. Here are the available metrics

14. Some of the available alerts.

That’s all in this post. Hope you find this helpful.

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