-
Notifications
You must be signed in to change notification settings - Fork 931
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
Per cluster member resource reservations #14247
Closed
Closed
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
5329730
lxd/cluster: Document/validate `limits.reserve.{cpu,memory}`
MggMuggins 0dc3fd8
doc: Run `make update-metadata`
MggMuggins caf4602
lxd/project/limits: Remove unused tx param
MggMuggins 80e8817
lxd/project/limits: Remove unused tx param
MggMuggins ef1d388
lxd/cluster: Split LocalSysInfo from MemberState
MggMuggins 553877a
lxd/cluster: Remove unused memberName parameter
MggMuggins 29a6ecf
lxd: Update MemberState usage
MggMuggins 9148443
shared/api: Add CPUThreads to ClusterMemberSysInfo
MggMuggins 10b514e
lxd/cluster: Populate CPUThreads
MggMuggins 5a800ac
doc: Run `make update-api`
MggMuggins b416d85
lxd/db: Implement rudimentary query builder
MggMuggins 01c6c55
lxd/db/node: Implement GetMemberConfigWithGlobalDefault
MggMuggins 713f773
lxd/db/node: Test GetMemberConfigWithGlobalDefault
MggMuggins 1c9037f
WIP getClusterMemberAggregateLimits
MggMuggins a9236ed
lxd/project/limits: Implement CheckReservationsWithInstance
MggMuggins 455b231
lxd/project/limits: Check resource reservations during AllowInstanceC…
MggMuggins 7dfea32
lxd/project/limits: Update AllowInstanceCreation tests
MggMuggins 2ec28ac
lxd: Pass server name & sysinfo to AllowInstanceCreation
MggMuggins bcb5ff9
lxd: Run AllowInstanceCreation on target member
MggMuggins 1b7029f
lxd/project/limits: Check reservations during AllowInstanceUpdate
MggMuggins bff566a
lxd: Update AllowInstanceUpdate usage
MggMuggins 376a2d1
lxd/project/limits: Implement AllowClusterMemberUpdate
MggMuggins 19a7b7a
lxd: Use AllowClusterMemberUpdate
MggMuggins 51b84f6
lxd/project/limits: Implement AllowClusterUpdate
MggMuggins 31681ff
lxd/cluster: Implement ClusterSysInfo
MggMuggins 4f2c7aa
lxd: Remove uneeded iteration
MggMuggins 85354f4
lxd: Use AllowClusterUpdate
MggMuggins 4fa4bd1
lxd: Check reservations during instance placement
MggMuggins 592d889
test/clustering: Resource reservation tests
MggMuggins b2d9555
lxd/db/node: Fix linter errors
MggMuggins a420e8b
WIP Patch instances during getClusterMemberAggregateLimits
MggMuggins 6b68db7
WIP Use getPatchedClusterMemberAggregateLimits
MggMuggins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldnt this be an optional integer?