apiVersion: serving.knative.dev/v1alpha1
kind: KnativeServing
metadata:
  name: knative-serving
spec:
  config:
    defaults:
      revision-timeout-seconds: "300"  # 5 minutes
      revision-cpu-request: "400m"     # 0.4 of a CPU (aka 400 milli-CPU)
      revision-memory-request: "100M"  # 100 megabytes of memory
      revision-cpu-limit: "1000m"      # 1 CPU (aka 1000 milli-CPU)
      revision-memory-limit: "200M"    # 200 megabytes of memory
    autoscaler:
      container-concurrency-target-percentage: "1.0"
      container-concurrency-target-default: "100"
      stable-window: "60s"
      panic-window-percentage: "10.0"
      panic-window: "6s"
      panic-threshold-percentage: "200.0"
      max-scale-up-rate: "10"
      enable-scale-to-zero: "true"
      tick-interval: "2s"
      scale-to-zero-grace-period: "30s"
    deployment:
      registriesSkippingTagResolving: "ko.local,dev.local"
    gc:
      stale-revision-create-delay: "24h"
      stale-revision-timeout: "15h"
      stale-revision-minimum-generations: "1"
      stale-revision-lastpinned-debounce: "5h"
    logging:
      loglevel.controller: "info"
      loglevel.autoscaler: "info"
      loglevel.queueproxy: "info"
      loglevel.webhook: "info"
      loglevel.activator: "info"
    observability:
      logging.enable-var-log-collection: "false"
      metrics.backend-destination: "prometheus"
    tracing:
      enable: "false"
      sample-rate: "0.1"
