Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

sandbox: Extend sandbox API #903

Closed
sboeuf opened this issue Nov 12, 2018 · 0 comments
Closed

sandbox: Extend sandbox API #903

sboeuf opened this issue Nov 12, 2018 · 0 comments

Comments

@sboeuf
Copy link

sboeuf commented Nov 12, 2018

In order to support use cases such as kata-containerd-shim-v2, where we have a long running process holding the Sandbox pointer, there is no reason to call into the stateless functions, as they would recreate a new Sandbox pointer and the corresponding ones for containers.

Instead, we should allow such case to use the sandbox API directly, avoiding to waste time in re-initialization and duplication.

sboeuf pushed a commit to sboeuf/runtime-1 that referenced this issue Nov 12, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StartSandbox(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
sboeuf pushed a commit to sboeuf/runtime-1 that referenced this issue Nov 12, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StopSandbox(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
sboeuf pushed a commit to sboeuf/runtime-1 that referenced this issue Nov 12, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StopContainer(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
sboeuf pushed a commit to sboeuf/runtime-1 that referenced this issue Nov 12, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function KillContainer(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
sboeuf pushed a commit to sboeuf/runtime-1 that referenced this issue Nov 12, 2018
In order to support use cases such as containerd-shim-v2 where
we would have a long running process holding the sandbox pointer,
there would be no reason to call into the stateless function
ProcessListContainer(), which would recreate a new sandbox pointer
and the corresponding ones for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
sboeuf pushed a commit to sboeuf/runtime-1 that referenced this issue Nov 12, 2018
In order to support use cases such as containerd-shim-v2 where
we would have a long running process holding the sandbox pointer,
there would be no reason to call into the stateless functions
PauseContainer() and ResumeContainer(), which would recreate a
new sandbox pointer and the corresponding ones for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StartSandbox(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StopSandbox(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StopContainer(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function KillContainer(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where
we would have a long running process holding the sandbox pointer,
there would be no reason to call into the stateless function
ProcessListContainer(), which would recreate a new sandbox pointer
and the corresponding ones for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where
we would have a long running process holding the sandbox pointer,
there would be no reason to call into the stateless functions
PauseContainer() and ResumeContainer(), which would recreate a
new sandbox pointer and the corresponding ones for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StartSandbox(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StopSandbox(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function StopContainer(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where we
would have a long running process holding the sandbox pointer, there
would be no reason to call into the stateless function KillContainer(),
which would recreate a new sandbox pointer and the corresponding ones
for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where
we would have a long running process holding the sandbox pointer,
there would be no reason to call into the stateless function
ProcessListContainer(), which would recreate a new sandbox pointer
and the corresponding ones for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
zklei pushed a commit to zklei/runtime that referenced this issue Nov 22, 2018
In order to support use cases such as containerd-shim-v2 where
we would have a long running process holding the sandbox pointer,
there would be no reason to call into the stateless functions
PauseContainer() and ResumeContainer(), which would recreate a
new sandbox pointer and the corresponding ones for containers.

Fixes kata-containers#903

Signed-off-by: Sebastien Boeuf <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant