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

Allow --cgroup to be passed to jailer #493

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

Conversation

gudmundur
Copy link

Description of changes: When setting up the jailer via firecracker-go-sdk I noticed that the SDK only supported setting a WithNumaNode to provide affinity. This change allows the WithNumaNode to be optional, which it is with the jailer. This change also adds a WithCgroupArgs option that will pass the provided arguments through to jailers --cgroup argument.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@gudmundur gudmundur requested a review from a team as a code owner May 17, 2023 08:36
Signed-off-by: Gudmundur Bjarni Olafsson <gudmundur.bjarni@gmail.com>
Signed-off-by: Gudmundur Bjarni Olafsson <gudmundur.bjarni@gmail.com>
Signed-off-by: Gudmundur Bjarni Olafsson <gudmundur.bjarni@gmail.com>
@gudmundur gudmundur force-pushed the jailer-configurable-cgroups branch from 7ef891b to a254341 Compare May 17, 2023 08:42
Signed-off-by: Guðmundur Bjarni Ólafsson <gudmundur.bjarni@gmail.com>
Signed-off-by: Guðmundur Bjarni Ólafsson <gudmundur.bjarni@gmail.com>
@adityamaru
Copy link

👋 I'm wanting the same thing, any reason you decided to not pursue this change? Is there a better way to configure cgroups via the SDK?

@maxdml
Copy link

maxdml commented Jan 24, 2024

Likewise, would love to see this in.

@gudmundur
Copy link
Author

@adityamaru we're using this in production. Waiting for a maintainer here to review this. 😳

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.

None yet

3 participants