Skip to content

Instantly share code, notes, and snippets.

@abouchama
Last active November 28, 2019 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abouchama/c336c0f4e2e8b661116525004c77cf17 to your computer and use it in GitHub Desktop.
Save abouchama/c336c0f4e2e8b661116525004c77cf17 to your computer and use it in GitHub Desktop.
apiVersion: serving.knative.dev/v1alpha1
kind: KnativeServing
metadata:
name: knative-serving
namespace: knative-serving
spec:
config:
autoscaler:
container-concurrency-target-default: '100'
container-concurrency-target-percentage: '1.0'
enable-scale-to-zero: 'true'
max-scale-up-rate: '10'
panic-threshold-percentage: '200.0'
panic-window: 6s
panic-window-percentage: '10.0'
scale-to-zero-grace-period: 30s
stable-window: 60s
tick-interval: 2s
defaults:
revision-cpu-limit: 1000m
revision-cpu-request: 400m
revision-memory-limit: 200M
revision-memory-request: 100M
revision-timeout-seconds: '300'
deployment:
registriesSkippingTagResolving: 'ko.local,dev.local'
gc:
stale-revision-create-delay: 24h
stale-revision-lastpinned-debounce: 5h
stale-revision-minimum-generations: '1'
stale-revision-timeout: 15h
logging:
loglevel.activator: info
loglevel.autoscaler: info
loglevel.controller: info
loglevel.queueproxy: info
loglevel.webhook: info
observability:
logging.enable-var-log-collection: 'false'
metrics.backend-destination: prometheus
tracing:
enable: 'false'
sample-rate: '0.1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment