STIGQter STIGQter: STIG Summary: Kubernetes Security Technical Implementation Guide Version: 2 Release: 6 Benchmark Date: 01 Apr 2026:

The Kubernetes Kubelet must have the "readOnlyPort" flag disabled.

DISA Rule

SV-242387r1137639_rule

Vulnerability Number

V-242387

Group Title

SRG-APP-000033-CTR-000095

Rule Version

CNTR-K8-000330

Severity

CAT I

CCI(s)

Weight

10

Fix Recommendation

On each Control Plane and Worker Node, run the command:
ps -ef | grep kubelet

Remove the "--read-only-port" option if present.

Note the path to the config file (identified by --config).

Edit the config file:
Set "readOnlyPort" to "0" or remove the setting.

Restart the kubelet service using the following command:
systemctl daemon-reload && systemctl restart kubelet

Check Contents

On each Control Plane and Worker Node, run the command:
ps -ef | grep kubelet

If the "--read-only-port" option exists, this is a finding.

Note the path to the config file (identified by --config).

Run the command:
grep -i readOnlyPort <path_to_config_file>

If the setting "readOnlyPort" exists and is not set to "0", this is a finding.

Vulnerability Number

V-242387

Documentable

False

Rule Version

CNTR-K8-000330

Severity Override Guidance

On each Control Plane and Worker Node, run the command:
ps -ef | grep kubelet

If the "--read-only-port" option exists, this is a finding.

Note the path to the config file (identified by --config).

Run the command:
grep -i readOnlyPort <path_to_config_file>

If the setting "readOnlyPort" exists and is not set to "0", this is a finding.

Check Content Reference

M

Target Key

5376