Kubernetes Stats Inputs

George Alpizar
George Alpizar

Overview

This input type collects and sends pod metrics, such as CPU and memory usage, to a configured streaming destination, as well as to the Edge Delta backend.

Note

To use this input, you must enable the Kubernetes metrics API on the cluster. To configure this API, you must install metrics-server. To learn more, review this document from Kubernetes.

Note

The Kubernetes pod metric collection requires an agent leader election mechanism to be enabled because only 1 agent collects metrics from the cluster. This mechanism is already enabled in the default agent deployment command via ED_LEADER_ELECTION_ENABLED=1.


Review Parameters

Review the following parameters that you can configure in the Edge Delta App:

Visual Editor YAML Description
Kubernetes Labels  labels

Enter a descriptive name for this input. 

When you create a workflow, you will use this label to enter your input into the workflow. 

This parameter is required. 

Review the following example: 

labels: "k8s-stats"

Review Sample Configuration

Review the following sample configuration: 

  kubernetes_stats:
    labels: "k8s-stats"

 


 

Share this document