SV-254575r1137649_rule
V-254575
SRG-APP-000456-CTR-001125
CNTR-R2-001620
CAT II
10
Upgrade RKE2 to the supported version. Institute and adhere to the policies and procedures to ensure that patches are consistently applied within the time allowed.
Authenticate on the RKE2 Control Plane.
Verify all nodes in the cluster are running a supported version of RKE2 Kubernetes.
Run command:
kubectl get nodes
If any nodes are running an unsupported version of RKE2 Kubernetes, this is a finding.
Verify all images running in the cluster are patched to the latest version.
Run command:
kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" | tr -s '[[:space:]]' '\n' | sort | uniq -c
If any images running in the cluster are not the latest version, this is a finding.
Note: Kubernetes release support levels can be found at: https://kubernetes.io/releases/
V-254575
False
CNTR-R2-001620
Authenticate on the RKE2 Control Plane.
Verify all nodes in the cluster are running a supported version of RKE2 Kubernetes.
Run command:
kubectl get nodes
If any nodes are running an unsupported version of RKE2 Kubernetes, this is a finding.
Verify all images running in the cluster are patched to the latest version.
Run command:
kubectl get pods --all-namespaces -o jsonpath="{.items[*].spec.containers[*].image}" | tr -s '[[:space:]]' '\n' | sort | uniq -c
If any images running in the cluster are not the latest version, this is a finding.
Note: Kubernetes release support levels can be found at: https://kubernetes.io/releases/
M
5486