You are securing a Kubernetes cluster control plane and need to ensure that the API server limits request payload sizes to prevent Denial of Service (DoS) attacks via memory exhaustion. Which mechanism or flag controls request body size limits in the Kubernetes API server?
Kubernetes API server has hardcoded and configurable request size limits to guard against memory exhaustion.
Why this answer
The API server enforces request body size limits natively for incoming HTTP requests (such as 3MB for standard requests and larger for specific subresources).