Red Hat OpenShift
TMA-OPENSHIFT-1.2.22
Ensure that the --request-timeout argument is set
Trung bìnhCấp 1Xem xét thủ côngopenshift
Mô tả
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.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
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.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Set --request-timeout argument
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- openshiftapi-server
- Tham chiếu
- CIS Red Hat OpenShift Container Platform Benchmark v2.0.0 - 1.2.22 Ensure that the --request-timeout argument is set