Kubelet File System Details Test

The Kubelet manages the file system on each node by creating and managing directories and files essential for container operations. It maintains a directory structure under /var/lib/kubelet, where it stores pod and container data, including volume mounts and container logs. The Kubelet handles temporary storage for container filesystems and ensures that data volumes specified by Pods are mounted correctly. It also cleans up unused data to free up disk space. This management is crucial for ensuring that containers run smoothly and that resources are utilized efficiently.

This test monitors the Kubelet File System and and reveals the details of disk usage. Administrators can analyze the metric over time to get valuable insights into current state and potential issues which can cause connectivity to fail.

Target of the test : A Kubernetes Worker Node

Agent deploying the test : A remote agent

Outputs of the test : One set of results for target Kubernetes Worker node being monitored.

Configurable parameters for the test

Parameter

Description

Test Period

How often should the test be executed.

Host

The IP address of the host for which this test is to be configured.

Port

Specify the port at which the specified Host listens. By default, this is 6443.

Timeout

Specify the duration (in seconds) beyond which the test will timeout in the Timeout text box. The default value is 10 seconds.

Metric URL

Each of the Kubernetes system components expose monitoring metrics through /metrics endpoint of the HTTP server. For components that don't expose endpoint by default, refer official Kubernetes distribution documentation site. Specify the metric URL textbox.

Measurements made by the test

Measurement

Description

Measurement Unit

Interpretation

Disk used

Indicates the amount of disk space used by Kubelet file system.

MB

If the data usage of Kubelet file system is too high, the administrators can investigate the issue.