GithubHelp home page GithubHelp logo

Comments (7)

mattmoor avatar mattmoor commented on July 19, 2024

Coordinate with @josephburnett and #autoscaling

from serving.

drewinglis avatar drewinglis commented on July 19, 2024

@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.

mattmoor avatar mattmoor commented on July 19, 2024

Multiple bools sounds like why K8s-style prefers enums over bools. Can we make that make sense?

from serving.

mattmoor avatar mattmoor commented on July 19, 2024

@drewinglis @josephburnett We now have RevisionServingStateType, so what work is left here?

from serving.

drewinglis avatar drewinglis commented on July 19, 2024

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.

josephburnett avatar josephburnett commented on July 19, 2024

The scope includes the implementation. Updated description to include that.

from serving.

mattmoor avatar mattmoor commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.