Skip to content

Revision does not spin up when not enough resources #9432

Closed

Description

@joshuawilson

In what area(s)?

/area autoscale

What version of Knative?

0.13.3

Expected Behaviour

When you create a Service, I expect the Revision to be spun up and made available. If there are not enough resources, I expect that when the resources are added or made available that the stalled Revision will be spun up.

Actual Behaviour

If there aren't enough resources then the Revision does NOT spin up and it never comes up even when more resources are added.

Steps to Reproduce the Problem

Set up a cluster with just a minimal amount of resources. Add things until you run out. Then add one more thing. Then add more resources/nodes.

Activity

  1. added
    kind/bug
    on Sep 16, 2020
  2. markusthoemmes commented on Sep 16, 2020

    @markusthoemmes
    Contributor

    The service will actually be spun up if capacity is added/freed up quick enough. Once we pass the progressDeadline of the deployment, we're scaling it down and call it a day though.

    Being able to fix this would hinge on us being able to get a workable signal from K8s that capacity got available and we can retry.

  3. joshuawilson commented on Sep 16, 2020

    @joshuawilson
    ContributorAuthor

    My concern is that as a Cloud thing and being Serverless too, from a users point of view it should just work if I give it more resources.

    I do understand that at a technical level this may be crazy hard to fix it at all.

    If it can't be fixed then we might want to add it to the docs. But you all know better then I do if it could be fixed.

  4. vagababov commented on Sep 16, 2020

    @vagababov
    Contributor

    @joshuawilson , so there's two cases:
    one when it's scaled to 0 and when it's not.
    When it's not — it will ultimately scale to desired scale, I think. When it is, as @markusthoemmes said, once progress deadline expires we just give up.
    It is a setting though and you can raise it quite high.

  5. joshuawilson commented on Sep 16, 2020

    @joshuawilson
    ContributorAuthor

    What I found it happened I start a new namespace and created a Service.

  6. markusthoemmes commented on Oct 5, 2020

    @markusthoemmes
    Contributor

    @vagababov is looking at this.

    /assign @vagababov

  7. github-actions commented on Jan 4, 2021

    @github-actions

    This issue is stale because it has been open for 90 days with no
    activity. It will automatically close after 30 more days of
    inactivity. Reopen the issue with /reopen. Mark the issue as
    fresh by adding the comment /remove-lifecycle stale.

  8. added
    lifecycle/stale
    on Jan 4, 2021
  9. joshuawilson commented on Jan 4, 2021

    @joshuawilson
    ContributorAuthor

    /reopen
    /remove-lifecycle stale

  10. removed
    lifecycle/stale
    on Jan 4, 2021
  11. evankanderson commented on Mar 22, 2021

    @evankanderson
    Member

    This looks equivalent to #9531, which contains a lot more information.

    Any objections to closing this in favor of that one?

    /triage needs-user-input

  12. added
    triage/needs-user-input
    on Mar 22, 2021
  13. vagababov commented on Mar 22, 2021

    @vagababov
    Contributor

    /unassign

  14. joshuawilson commented on Mar 22, 2021

    @joshuawilson
    ContributorAuthor

    @evankanderson I agree, the other has more detail. Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/autoscalekind/bugtriage/needs-user-input

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions