-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TaskRun support stop/wait status #2217
Comments
/cc @vdemeester @sbwsg |
/kind feature |
It would be good to know a bit more about the intended use case for this feature. Why do you want it? Is it to support something like #2159 ? In general I think we would not want the Pod hanging around consuming resources while the TaskRun is waiting. Ideally when a TaskRun begins waiting its resources are released so that other tasks can be scheduled while it's sleeping. When the TaskRun is told to continue it would spin up a new Pod at the point where it left off. The use cases for this behaviour (that I know of) are often systems that run for 24 hours or more. Examples include:
In all of these cases it would be much better if the TaskRun released its resources while in a paused state. |
we test pod during taskRun, send a stop signal to the container system pid, at this time, the process stops and does not take up the load. I let this be an effective way to control the transfer of resources. If there is a rerun function, it is even better. |
/cc @sbwsg |
Curious about this - What state does the Pod enter into? Does Kubernetes release the resource quota it has set aside for the Pod? |
the pod still running, but it doesn't work anymore, as we use fg/bg, my idea is to identify a paused state record in taskRun |
/assign |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. /lifecycle stale Send feedback to tektoncd/plumbing. |
Stale issues rot after 30d of inactivity. /lifecycle rotten Send feedback to tektoncd/plumbing. |
Rotten issues close after 30d of inactivity. /close Send feedback to tektoncd/plumbing. |
@tekton-robot: Closing this issue. In response to this:
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. |
idea:
Do you have any better ideas?
The text was updated successfully, but these errors were encountered: