TMA-OPENSHIFT-1.2.13
Ensure that the admission control plugin NodeRestriction is set
Description
Limit the Node and Pod objects that a kubelet could modify. The benchmark marks this recommendation Manual.
Méthode de vérification
Méthode d'audit: Revue manuelle
Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --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.
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Enable the NodeRestriction admission plugin.
Propriétés
- Systèmes d'exploitation
- Tous
- Étiquettes
- openshiftapi-server
- Référence
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.13 Ensure that the admission control plugin NodeRestriction is set