The Kubernetes API server request timeout should not exceed 60 seconds

Set up the kubernetes integration.

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

The global request timeout for API server requests should not exceed 60 seconds. Setting the timeout limit above 60 seconds can exhaust the API server resources making it prone to Denial-of-Service attacks. It is recommended to only change the default limit of 60 seconds when necessary.

Remediation

Edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml and set the below parameter to 60. For example, --request-timeout=60s.