mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Add NodeMaxAllocations to client configuration (#25785)
* Set MaxAllocations in client config Add NodeAllocationTracker struct to Node struct Evaluate MaxAllocations in AllocsFit function Set up cli config parsing Integrate maxAllocs into AllocatedResources view Co-authored-by: Tim Gross <tgross@hashicorp.com> --------- Co-authored-by: Tim Gross <tgross@hashicorp.com>
This commit is contained in:
@@ -572,6 +572,7 @@ type Node struct {
|
||||
LastDrain *DrainMetadata
|
||||
CreateIndex uint64
|
||||
ModifyIndex uint64
|
||||
NodeMaxAllocs int
|
||||
}
|
||||
|
||||
type NodeResources struct {
|
||||
|
||||
Reference in New Issue
Block a user