Red Hat OpenShift
TMA-OPENSHIFT-1.2.22
Ensure that the --request-timeout argument is set
MittelStufe 1Manuelle Prüfungopenshift
Beschreibung
The API server minimum request timeout defines the minimum number of seconds a handler must keep a request open before timing it out. The benchmark marks this recommendation Manual.
So wird geprüft
Prüfmethode: Manuelle Prüfung
Diese Empfehlung kann nicht automatisch geprüft werden. Ein Scan führt sie mit diesen Anweisungen auf, wenn Sie --include-manual übergeben.
OpenShift configures the min-request-timeout flag via apiServerArguments[min-request-timeout], which overrides request-timeout and provides a more balanced timeout approach. Run the following command: oc get configmap config -n openshift-kube-apiserver -ojson | jq -r '.data["config.yaml"]' | jq '.apiServerArguments["min-request-timeout"]' Verify that the min-request-timeout argument is set to 3600.
So wird behoben
Behebungsmethode: Anleitung oder Infrastruktur-Patch
Set --request-timeout argument
Eigenschaften
- Betriebssysteme
- Beliebig
- Tags
- openshiftapi-server
- Referenz
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.22 Ensure that the --request-timeout argument is set