Skip to content

Stop scaling up if pods are crashlooping #2145

Closed

Description

@josephburnett

Expected Behavior

If pods are crashlooping, they will never successfully process requests and scaling up will not help. Autoscaling should cease scale up if pods are crashlooping.

Actual Behavior

No such circuit breaker exists.

Additional Info

Re: #2117 (comment)

Activity

  1. added
    kind/feature
    on Oct 3, 2018
  2. added this to the milestone on Oct 4, 2018
  3. hohaichi commented on Apr 17, 2019

    @hohaichi
    Contributor

    @josephburnett Do you have a scenario/repro? Is this a crashlooping sceanrio: a pod crash when it receives X concurrent requests, and keep coming back, receiving X concurrent requests, crashing again? If so, I think it should continue to scale up so that each pod will receive less than X concurrent requests, right?

    If the scenario is a pod crashing while booting up, then I don't see why it could be scaled up. It is a bug not scaling down in this case (#3456), and I'm fixing it.

  4. modified the milestones: , Needs Triage on May 6, 2019
  5. vagababov commented on Jun 26, 2019

    @vagababov
    Contributor

    /milestone Ice Box

  6. markusthoemmes commented on Jul 16, 2019

    @markusthoemmes
    Contributor

    Is this effectively caught via our deployment check and our activation timeout?

  7. jonjohnsonjr commented on Jul 16, 2019

    @jonjohnsonjr
    Contributor

    The activation timeout covers the [0, minScale] range, but for (minScale, infinity) I don't believe we will stop trying to scale. I can't of a situation where some (but not all) pods are crashlooping AND the right thing to do is to stop scaling. Detecting that only some pods are crashlooping would also be kind of expensive.

    I believe we will surface a ProgressDeadlineExceeded status in this case, which might be the only reasonable thing to do...

  8. knative-housekeeping-robot commented on Dec 25, 2019

    @knative-housekeeping-robot

    Issues go stale after 90 days of inactivity.
    Mark the issue as fresh by adding the comment /remove-lifecycle stale.
    Stale issues rot after an additional 30 days of inactivity and eventually close.
    If this issue is safe to close now please do so by adding the comment /close.

    Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.

    /lifecycle stale

  9. added
    lifecycle/stale
    on Dec 25, 2019
  10. knative-housekeeping-robot commented on Jan 25, 2020

    @knative-housekeeping-robot

    Stale issues rot after 30 days of inactivity.
    Mark the issue as fresh by adding the comment /remove-lifecycle rotten.
    Rotten issues close after an additional 30 days of inactivity.
    If this issue is safe to close now please do so by adding the comment /close.

    Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.

    /lifecycle rotten

  11. added
    lifecycle/rotten
    and removed
    lifecycle/stale
    on Jan 25, 2020
  12. knative-housekeeping-robot commented on Feb 24, 2020

    @knative-housekeeping-robot

    Rotten issues close after 30 days of inactivity.
    Reopen the issue with /reopen.
    Mark the issue as fresh by adding the comment /remove-lifecycle rotten.

    Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.

    /close

  13. knative-prow-robot commented on Feb 24, 2020

    @knative-prow-robot
    Contributor

    @knative-housekeeping-robot: Closing this issue.

    Details

    In response to this:

    Rotten issues close after 30 days of inactivity.
    Reopen the issue with /reopen.
    Mark the issue as fresh by adding the comment /remove-lifecycle rotten.

    Send feedback to Knative Productivity Slack channel or file an issue in knative/test-infra.

    /close

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

  14. removed this from the Ice Box milestone on Oct 6, 2021
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/featurelifecycle/rotten

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions