Red Hat OpenShift
TMA-OPENSHIFT-1.2.13
Ensure that the admission control plugin NodeRestriction is set
AltaNível 1Revisão manualopenshift
Descrição
Limit the Node and Pod objects that a kubelet could modify. The benchmark marks this recommendation Manual.
Como é verificado
Método de auditoria: Revisão manual
Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --include-manual.
In OpenShift, the NodeRestriction admission plugin is enabled by default. Use the following command to obtain a list of configured admission controllers: oc -n openshift-kube-apiserver get configmap config -o json | jq -r '.data."config.yaml"' | jq '.apiServerArguments."enable-admission-plugins"' Verify the list includes NodeRestriction.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Enable the NodeRestriction admission plugin.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- openshiftapi-server
- Referência
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.13 Ensure that the admission control plugin NodeRestriction is set