SV-242399r717021_rule
V-242399
SRG-APP-000033-CTR-000095
CNTR-K8-000460
CAT II
10
Edit any manifest file or kubelet config file that does not contain a feature-gates setting or has DynamicKubeletConfig set to "true".
An omission of DynamicKubeletConfig within the feature-gates defaults to true. Set DynamicKubeletConfig to "false". Restart the kubelet service if the kubelet config file is changed.
On the Master node, change to the manifests' directory at /etc/kubernetes/manifests and run the command:
grep -i feature-gates *
Review the feature-gates setting if one is returned.
If the feature-gates setting does not exist or feature-gates does not contain the DynamicKubeletConfig flag or the "DynamicKubletConfig" flag is set to "true", this is a finding.
Change to the directory /etc/sysconfig on the Master and each Worker node and execute the command:
grep -i feature-gates kubelet
Review every feature-gates setting if one is returned.
If the feature-gates setting does not exist or feature-gates does not contain the DynamicKubeletConfig flag or the DynamicKubletConfig flag is set to "true", this is a finding.
V-242399
False
CNTR-K8-000460
On the Master node, change to the manifests' directory at /etc/kubernetes/manifests and run the command:
grep -i feature-gates *
Review the feature-gates setting if one is returned.
If the feature-gates setting does not exist or feature-gates does not contain the DynamicKubeletConfig flag or the "DynamicKubletConfig" flag is set to "true", this is a finding.
Change to the directory /etc/sysconfig on the Master and each Worker node and execute the command:
grep -i feature-gates kubelet
Review every feature-gates setting if one is returned.
If the feature-gates setting does not exist or feature-gates does not contain the DynamicKubeletConfig flag or the DynamicKubletConfig flag is set to "true", this is a finding.
M
5376