STIGUI
V-242457CAT II — Medium severitySV-242457r961863_rule

The Kubernetes kubelet config must be owned by root.

Rule version CNTR-K8-003240 · STIG v2 · 2026-02-12

Discussion

The Kubernetes kubelet agent registers nodes with the API Server and performs health checks to containers within pods. If this file can be modified, the information system would be unaware of pod or container degradation.

Check

Review the Kubernetes Kubeadm kubelet conf file by using the command:

stat -c %U:%G /var/lib/kubelet/config.yaml| grep -v root:root

If the command returns any non root:root file permissions, this is a finding.

Fix

Change the ownership of the kubelet config to "root: root" by executing the command:

chown root:root /var/lib/kubelet/config.yaml

Identifiers

Group ID
V-242457
Group title
SRG-APP-000516-CTR-001330
Rule ID
SV-242457r961863_rule
Check ID
C-45732r712725_chk
Fix ID
F-45690r712726_fix