You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Revision does not spin up when not enough resources #9432
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.
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.
@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.
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.
Activity
markusthoemmes commentedon Sep 16, 2020
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.
joshuawilson commentedon Sep 16, 2020
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.
vagababov commentedon Sep 16, 2020
@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.
joshuawilson commentedon Sep 16, 2020
What I found it happened I start a new namespace and created a Service.
markusthoemmes commentedon Oct 5, 2020
@vagababov is looking at this.
/assign @vagababov
github-actions commentedon Jan 4, 2021
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 asfresh by adding the comment
/remove-lifecycle stale.joshuawilson commentedon Jan 4, 2021
/reopen
/remove-lifecycle stale
evankanderson commentedon Mar 22, 2021
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
vagababov commentedon Mar 22, 2021
/unassign
joshuawilson commentedon Mar 22, 2021
@evankanderson I agree, the other has more detail. Closing this one.