Skip to content

Commit

Permalink
[YUNIKORN-1887] SI: Add tag to allow forcible app creation
Browse files Browse the repository at this point in the history
Applications can be created in response to existing allocations
being reported from the shim to the core. We need to ensure that
these applications are not rejected.
  • Loading branch information
craigcondit committed Jul 28, 2023
1 parent fd06c60 commit 0cf2cac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions lib/go/common/constants.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions lib/go/si/si.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scheduler-interface-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@ message AllocationRequest {
// ID of RM, this will be used to identify which RM of the request comes from.
string rmID = 3;
// Register new allocations or replace of existing allocations (if allocationID is same).
// The ask must already exist, or be specified in the asks parameter of this request.
// Existing allocations to be added.
repeated Allocation allocations = 4;
}
Expand Down Expand Up @@ -745,6 +744,7 @@ const (
AppTagNamespaceResourceQuota = "namespace.resourcequota"
AppTagNamespaceResourceGuaranteed = "namespace.resourceguaranteed"
AppTagStateAwareDisable = "application.stateaware.disable"
AppTagCreateForce = "application.create.force"
NodeReadyAttribute = "ready"
)
```
Expand Down
3 changes: 1 addition & 2 deletions si.proto
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ message AllocationRequest {
// ID of RM, this will be used to identify which RM of the request comes from.
string rmID = 3;

// Register new allocations or replace of existing allocations (if allocationID is same).
// The ask must already exist, or be specified in the asks parameter of this request.
// Existing allocations to be added.
repeated Allocation allocations = 4;
}

Expand Down

0 comments on commit 0cf2cac

Please sign in to comment.