Comments (7)
Coordinate with @josephburnett and #autoscaling
from serving.
@josephburnett and I had a long conversation about this today. Here's the new proposed spec:
Spec.Addressable
will be set by the RouteController
. It will be true if there are any traffic splits in the current set of Route.Spec
or Route.Status
traffic splits that include this Revision
, and false otherwise. If it is false, we should delete all Kuberenetes resources and Istio routes used by this revision.
If true, we should create all Kubernetes resources and Istio routes (routing dependent on the state of Spec.Active
below).
Spec.Active
will be set by the autoscaler/activator. It will be true if the Revision
is serving or has recently served traffic, and false if it has not received traffic recently. If it's true, the Istio routes should point to the pods, and if it's false, the Istio routes should point to the activator.
from serving.
Multiple bools sounds like why K8s-style prefers enums over bools. Can we make that make sense?
from serving.
@drewinglis @josephburnett We now have RevisionServingStateType
, so what work is left here?
from serving.
I'm not sure what the scope of this issue is exactly. If it was only to add the label in the API, then we can close it. If it was also tracking the work to set it, then it should stay open.
from serving.
The scope includes the implementation. Updated description to include that.
from serving.
I believe this is checked in as part of an autoscaler experiment, and done barring broader model changes in M5 and beyond, which are tracked separately. I'm going to close this out.
If I'm wrong, please re-open :)
from serving.
Related Issues (20)
- Deleting a ksvc keeps a dm ingress in ready=true status HOT 1
- [flaky] test/e2e.TestWebSocketWithTimeout/exceeds_response_start_timeout_seconds HOT 2
- [flaky] test/e2e.TestWebSocketBlueGreenRoute HOT 2
- Unable to use Proxy Protocol in Knative service HOT 21
- Discussion: can we drop `certificate-class` when http01 is archived HOT 1
- Queue Proxy Timeout Seconds Not Respected HOT 2
- Address GO-2023-2382 HOT 5
- [flaky] test/upgrade.TestServingUpgrades/Run/Steps/DowngradeWith/ServingLatestRelease HOT 2
- Activator continues to route requests to non-existent pods. HOT 1
- Discussion: do we want to keep net-certmanager or can we integrate in Serving HOT 5
- Specify position to scale pod
- Support configurable Istio Virtualservice match prefix/rewrite of a Knative Service HOT 1
- Challenge with Istio Gateway Configuration for Wildcard Domain Handling in Multi-Tenant Knative Environment HOT 1
- [flaky] test/e2e.TestRevisionTimeout/exceeds_response_start_timeout HOT 2
- Request for Version Compatibility Matrix Between Knative and Kubernetes HOT 1
- CrashBackOff in Knative Controller Pod After Deploying with Official YAML Script HOT 5
- [flaky] test/conformance/api/v1.TestRouteCreation HOT 2
- autoscaling.knative.dev/scale-down-delay: 15m does not seem to work HOT 5
- How to mount NFS in Knative v0.23? HOT 1
- GRPC probes service field should have defaulting HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serving.