The Kubernetes API server request timeout should not exceed 60 seconds

Set up the kubernetes integration.

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.