Changes
๐จ Notable
Prior RevisionSpec.TimeoutSeconds
would cause a request to timeout if the user container returned no response in the allotted time. This would allow for apps to return some data and then remain open forever indefinitely. This prior behaviour was not conformant to the Knative Serving API specification.
In this release we've fixed this behaviour and provided additional knobs to allow users greater control of various timings.
- Revision timeouts now has three knobs for users to control (#12970, @nader-ziada)
TimeoutSeconds
represents the max duration a request can takeResponseStartTimeoutSeconds
is the timeout allowed before a request starts respondingIdleTimeoutSeconds
is the max duration a request can remain open without getting any data.
๐ซ New Features & Changes
- Adds a
autoscaling.knative.dev/activation-scale
annotation that allows the user to set a minimum number of replicas when not scaled to zero. Note that the initial target scale for a revision is still handled byinitial-scale
;activation-scale
will only apply on subsequent scales from zero. (#13161, @psschwei)
๐Bug Fixes
- Allow upgrades if you
revision-timeout-seconds
in the ConfigMapconfig-defaults
is configured below300
(@dprotaso) - Readiness probes no longer fail if the user container is restarted (due to a liveness probe failure) (#13229, @dprotaso)
๐งน Cleanup
- Building Knative Serving requires go v1.18 (#13169, @psschwei)
- Build commit SHA is no longer under kodata in our containers it is now embedded in the binary since we build with go1.18. Use
go version -m [binary]
to get the same information (#13130, @dprotaso)
Dependencies
Added
Nothing has changed.
Changed
- golang.org/x/sync: 036812b โ 886fb93
- k8s.io/api: v0.23.8 โ v0.23.9
- k8s.io/apiextensions-apiserver: v0.23.8 โ v0.23.9
- k8s.io/apimachinery: v0.23.8 โ v0.23.9
- k8s.io/apiserver: v0.23.8 โ v0.23.9
- k8s.io/client-go: v0.23.8 โ v0.23.9
- k8s.io/code-generator: v0.23.8 โ v0.23.9
- k8s.io/component-base: v0.23.8 โ v0.23.9
- k8s.io/gengo: 4627b89 โ 397b4ae
- k8s.io/klog/v2: 43cc75f โ 0990e81
- knative.dev/caching: 9c3c19f โ 9df7bb7
- knative.dev/control-protocol: 827b25d โ f18dbde
- knative.dev/hack: 65c463a โ 8d1e4cc
- knative.dev/networking: f087178 โ e51df7c
- knative.dev/pkg: e60d250 โ 4a03844
- knative.dev/reconciler-test: f05db88 โ 177f826
Removed
Nothing has changed.