TMAegisБета
Другие правила для openshift

Red Hat OpenShift

TMA-OPENSHIFT-1.2.7

Ensure that the APIPriorityAndFairness feature gate is enabled

СреднийУровень 1Ручная проверкаopenshift

Описание

Limit the rate at which the API server accepts requests. The benchmark marks this recommendation Manual.

Как проверяется

Метод проверки: Ручная проверка

Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-manual.

OpenShift 4.5 and forward uses the api priority and fairness feature to limit the rate at which the API server accepts requests. Run the following command: #Verify the APIPriorityAndFairness feature-gate oc get kubeapiservers.operator.openshift.io cluster -o json | jq '.spec.observedConfig.apiServerArguments' For 4.5, verify that the feature-gate is turned on for the APIServer priority and fairness: APIPriorityAndFairness=true. In OCP 4.5 and earlier, the default set of admission plugins are compiled into the apiserver and are not visible in the configuration yaml.

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

Turn on for the APIServer priority and fairness: `APIPriorityAndFairness=true

Свойства

Операционные системы
Любая
Теги
openshiftapi-server
Источник
CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.7 Ensure that the APIPriorityAndFairness feature gate is enabled