SV-254568r1188305_rule
V-254568
SRG-APP-000190-CTR-000500
CNTR-R2-000890
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: --streaming-connection-idle-timeout=5m
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 streaming-connection-idle-timeout argument is set correctly.
Run this command on each node:
/bin/ps -ef | grep kubelet | grep -v grep
If --streaming-connection-idle-timeout is set to < "5m", missing or the parameter is not configured, this is a finding.
V-254568
False
CNTR-R2-000890
Ensure streaming-connection-idle-timeout argument is set correctly.
Run this command on each node:
/bin/ps -ef | grep kubelet | grep -v grep
If --streaming-connection-idle-timeout is set to < "5m", missing or the parameter is not configured, this is a finding.
M
5486