Skip to content
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

sandbox: update sandbox resource before/after task creation/deletion #9904

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

abel-von
Copy link
Contributor

@abel-von abel-von commented Mar 1, 2024

For sandboxed Task, we call the task api directly into the sandbox. For some kind of sandbox, we may have to update the resources of the sandbox before/after task creation or deletion, and it has to be done outside the sandbox, so we rely on the sandbox controller to update the resources of the sandbox.

@k8s-ci-robot
Copy link

Hi @abel-von. Thanks for your PR.

I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@abel-von
Copy link
Contributor Author

abel-von commented Mar 1, 2024

needs rebase after #9736 #9853 #9882 #9883 #9884 #9903 #9904

@abel-von abel-von closed this Mar 1, 2024
@abel-von abel-von changed the title sandbox: add a new sandboxedTask type other than the shimTask sandbox: update sandbox resource before/after task creation/deletion Mar 1, 2024
@abel-von abel-von reopened this Mar 1, 2024
@abel-von abel-von mentioned this pull request Mar 1, 2024
17 tasks
@abel-von abel-von force-pushed the sandbox-task-0301 branch 4 times, most recently from b8115cd to 4dc8e31 Compare May 7, 2024 12:33
Signed-off-by: Abel Feng <fshb1988@gmail.com>
there are two kinds of task, shimTask and sandboxedTask,
shimTask is the legacy implementation and compatible with the
podsandbox, the sandboxedTask is the task running in the sandbox created
by sandbox sontroller v2

Signed-off-by: Abel Feng <fshb1988@gmail.com>
Signed-off-by: Abel Feng <fshb1988@gmail.com>
Signed-off-by: Abel Feng <fshb1988@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants