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

Implement cgroups #24

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

Implement cgroups #24

wants to merge 28 commits into from

Conversation

hugoamalric
Copy link
Collaborator

No description provided.

MaloPolese and others added 8 commits March 31, 2022 14:47
- add methode to generate the oci spec
- add tests

Signed-off-by: Malo Polese <[email protected]>
- create spec command for kaps

Signed-off-by: Malo Polese <[email protected]>
We do not need to check for the mount cleanup value, when
it only returns a empty Result.

Signed-off-by: Samuel Ortiz <[email protected]>
This commit fix mounts leak when spawn command fails and when mounts are busy on exit.

Signed-off-by: NelopsisCode <[email protected]>
Not an associated function.

Signed-off-by: Samuel Ortiz <[email protected]>
vec is...weird.

Signed-off-by: Samuel Ortiz <[email protected]>
@hugoamalric hugoamalric marked this pull request as draft April 15, 2022 19:02
thomasgouveia and others added 18 commits April 20, 2022 22:54
This commit adds a the CLI reference into the project in order to document the usage of the tool.
It also renames the project, as now it is called `kaps`

Signed-off-by: thomasgouveia <[email protected]>
This commit add the ability to the crate to create ready-to-use OCI bundles for our container runtime.

Signed-off-by: thomasgouveia <[email protected]>
This commit add to the oci-image crate the ability to hold and store a state of the OCI images on the host.

Signed-off-by: thomasgouveia <[email protected]>
Add the ability to the image manager to pull an OCI images

Signed-off-by: thomasgouveia <[email protected]>
This commit add the oci-image base code by providing the image manager, which can be used by end users to interact with OCI images.

Signed-off-by: thomasgouveia <[email protected]>
Add the crate oci-image to the kaps binary.

Signed-off-by: thomasgouveia <[email protected]>
This commit add the pull command support to kaps.
This feature required some changes in our code base, such as async trait & async runtime.

Signed-off-by: thomasgouveia <[email protected]>
This commit add to kaps the ability to log on stdout.
We can now control the verbosity level by using `-v`.
Also, for `pull` command, we can now use `-q` to silently execute the command.

Signed-off-by: thomasgouveia <[email protected]>
We need root permissions to run some of our tests.

Signed-off-by: Samuel Ortiz <[email protected]>
Signed-off-by: NelopsisCode <[email protected]>
Signed-off-by: NelopsisCode <[email protected]>
Introduce a required id parameter to the cli run command.
Add usage of the container state implementation.

Signed-off-by: kalil <[email protected]>
@hugoamalric hugoamalric self-assigned this May 2, 2022
@hugoamalric hugoamalric marked this pull request as ready for review May 2, 2022 01:14
@hugoamalric hugoamalric force-pushed the cgroups branch 3 times, most recently from e47573a to 1802ece Compare May 2, 2022 01:20
@hugoamalric hugoamalric force-pushed the cgroups branch 3 times, most recently from 4597548 to 33afef2 Compare May 2, 2022 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants