Knative: Operator’s Handbook

Request timeouts

By default, a request served by a Knative application take maxium 900 seconds (15 minutes) before it times out.

This value can be between [0, 900] second. If 0 is specified, a default value like 300 will be assigned.

This value is configurable via Knative Service's spec.template.spec.timeoutSeconds field:

apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
  name: hello
spec:
  template:
    spec:
      timeoutSeconds: 300
      containers:
      - image: gcr.io/google-samples/hello-app:1.0