SV-242404r960960_rule
V-242404
SRG-APP-000133-CTR-000290
CNTR-K8-000850
CAT II
10
Run the command:
systemctl status kubelet.
Note the path to the drop-in file.
Determine the path to the environment file(s) with the command:
grep -i EnvironmentFile <path_to_drop_in_file>.
Remove the "--hostname-override" option from any environment file where it is present.
Restart the kubelet service using the following command:
systemctl daemon-reload && systemctl restart kubelet
On the Control Plane and Worker nodes, run the command:
ps -ef | grep kubelet
If the option "--hostname-override" is present, this is a finding.
V-242404
False
CNTR-K8-000850
On the Control Plane and Worker nodes, run the command:
ps -ef | grep kubelet
If the option "--hostname-override" is present, this is a finding.
M
5376