-
Notifications
You must be signed in to change notification settings - Fork 88
New Multi-Enclave Allocation Service #685
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
Open
eraykaradag
wants to merge
17
commits into
aws:main
Choose a base branch
from
eraykaradag:allocator-approval
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imported from an internal project. Signed-off-by: Marius Knaust <[email protected]>
a2ccc54 to
ed5a91d
Compare
I have added unit tests to cover general functionality of allocator service. Tried to mock SysFs files to check if it will work or not. Also i have added documentation for functions to explain general functionality.
…izing strings I changed error type with anyhow. Tried to add more information to error messages. Also found an error with serde with deserializing numbers into string when user provides pool of cpus. fixed it with implementing separate deserializer logic.
Changed makefile to build allocator as a separated binary. Since binary and the bash script has the same the allocator.service will pick up the new one.
…for NITRO_CLI_INSTALL_DIR env variable. It fails to read config file if env variable is not exist. If env variable not exist then allocator will try to find the config file in / directory. Tried to build everything manually i bumped into this error in amazon linux and ubuntu instances. Also legacy allocator has the same mechanism but it was not failing. it was failing in Rust so i had to add a sanity check.
…nd also every documentation to guide how to build the allocator Since the new allocator is a binary i put it's build flow with the nitro-cli and vsock-proxy. Also added to the how to install and setup nitro-cli documentations.
ed5a91d to
466fa8a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Old PR: eraykaradag#1
This PR introduces a new allocator service that enables granular resource allocation for multiple enclaves, implemented in Rust for improved error handling and user experience.
Changes
New Configuration File Format
allocator.yaml:
Key features:
Testing Done
Notes
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.