VMware Cloud Community
keerthikumark
Contributor
Contributor

How to get Kubernetes metrics data using cAdvisor in vRA 8?

Hi,

Can anybody assist me how to get monitoring metrics data of Pods, Containers and other Kubernetes components in vRA 8 node using cadvisor? As vRA 8 is using Kubernetes to run its components and services, its important have the monitoring solution to monitor the Kubernetes components within vRA 8. As per VMware, cAdvisor is used to get metrics data. But, we are unable to browse the the cAdvisor URL http://vRA8-host-IP:31194/metrics though it is exposed using kubernetes service. But it is browseable with Host IP and Pod IP within vRA8 host using curl.

Actual URL followed: cAdvisor YAML Definition

Supporting URLs:

https://blog.kiodo.io/post/seeingisbelieving/

https://beyondelastic.com/2019/02/18/vmware-pks-1-3-monitor-k8s-with-vrops/

Tags (1)
0 Kudos
1 Reply
vishy3
Enthusiast
Enthusiast

Did anyone got this working using the docker management pack or the native Kubernetes management pack. 

The vRO 8.7, deployed cAdvisor using published address to 8081. I cannot access the port externally, however I can see the container running using the command docker ps. 

 

0 Kudos