SV-254569r1188307_rule
V-254569
SRG-APP-000233-CTR-000585
CNTR-R2-000940
CAT II
10
Edit the RKE2 configuration file on all RKE2 hosts, located at /etc/rancher/rke2/config.yaml, to contain the following:
kubelet-arg: --protect-kernel-defaults=true
If configuration files are updated on a host, restart the RKE2 service using the command "systemctl restart rke2-server" for server hosts and "systemctl restart rke2-agent" for agent hosts.
Ensure protect-kernel-defaults argument is set correctly.
Run this command on each node:
/bin/ps -ef | grep kubelet | grep -v grep
If --protect-kernel-defaults is not set to "true", missing or is not configured, this is a finding.
V-254569
False
CNTR-R2-000940
Ensure protect-kernel-defaults argument is set correctly.
Run this command on each node:
/bin/ps -ef | grep kubelet | grep -v grep
If --protect-kernel-defaults is not set to "true", missing or is not configured, this is a finding.
M
5486