From 64223913034d48eff20bc8a03ee6c0330bf8a31c Mon Sep 17 00:00:00 2001 From: marius Date: Sun, 19 Apr 2020 10:08:24 +0200 Subject: [PATCH] autoscaling tests --- service.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/service.yaml b/service.yaml index 4c8ff49..e85d9f0 100644 --- a/service.yaml +++ b/service.yaml @@ -6,6 +6,13 @@ metadata: spec: template: spec: + metadata: + annotations: + autoscaling.knative.dev/minScale: "2" + autoscaling.knative.dev/maxScale: "6" + container-concurrency-target-default: "10" + scale-to-zero-grace-period: "10s" + autoscaling.knative.dev/window: "10s" containers: - image: docker.io/wishi/chuckjokes:latest imagePullPolicy: "Always"