This topic describes the components and integrations you can use to capture Kubernetes workload and worker node logs and metrics on VMware Tanzu Kubernetes Grid Integrated Edition (TKGI) Linux clusters.

For information about logging and monitoring Kubernetes clusters, workers and workloads on Windows, see Monitoring Windows Worker Clusters and Workers or Logging Windows Worker Clusters and Workers.



Overview

You can use monitoring components to capture Kubernetes workload and worker node logs and metrics on TKGI-provisioned Linux Kubernetes clusters.

For information about monitoring TKGI and TKGI-provisioned cluster VMs on Linux, see Monitoring TKGI and TKGI-Provisioned Clusters.

To capture Kubernetes workload and worker node logs and metrics:

Note: When running on worker nodes, the monitoring components and integrations are visible to both TKGI admins and cluster users, such as developers.



Configure Monitoring Components and Integrations

To monitor Kubernetes worker nodes and workloads in your TKGI deployment:

  1. Enable one or more supported components and integrations in the Tanzu Kubernetes Grid Integrated Edition tile > In-Cluster Monitoring. For more information about supported components and integrations, see Monitoring Components and Integrations below.

  2. To activate TKGI sink resources, Wavefront, or vRealize Operations integration, follow the instructions in In-Cluster Monitoring for your IaaS:

  3. To configure a monitoring integration:


Monitoring Components and Integrations

The following components and integrations can be used to monitor Kubernetes worker nodes and workloads in your TKGI deployment:

Name Type Description
Prometheus DNS-based Service Discovery External integration TKGI supports DNS-based service discovery for TKGI-provisioned Linux cluster nodes: master.cfcr.internal and master‑0.etcd.cfcr.internal for control plane nodes and worker.cfcr.internal for worker nodes.

See dns_sd_config in the Prometheus Configuration documentation.
Sink resources TKGI component See Sink Resources, below.
Wavefront External integration See VMware Tanzu Kubernetes Grid Integrated Edition Integration in the Wavefront documentation.

Or send metrics to Wavefront with a metric sink.
VMware Aria Operations Management Pack for Kubernetes External integration, with cAdvisor See VMware Aria Operations Management Pack for Kubernetes in the VMware-Aria-Operations-for-Integrations documentation.



Sink Resources

In TKGI, you can deploy log sinks and metric sinks to monitor your Kubernetes worker nodes and workloads that are running on them.

To deploy a log or a metric sink:

  1. Enable sink resources in the Tanzu Kubernetes Grid Integrated Edition tile > In-Cluster Monitoring. You can enable both log and metric sink resources or only one of them.
  2. (Optional) Enable Node Exporter on worker nodes by selecting the Enable node exporter on workers check box.
  3. Create sink resources. For instructions, see Creating and Managing Sink Resources.

For more information about sink resources, see:

check-circle-line exclamation-circle-line close-line
Scroll to top icon