-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial work to reconcile devices from launcher pods
initial work to reconcile devices from launcher pods refactor vmi reconcile to pass codefactor check refactor code and change validation logic to use new annotations modified vmi/vm reconcile to also update vm with correct device names based on vgpu annotation when VM is stopped include pr review feedback fine tune logic for removing duplicates from allocation annotation
- Loading branch information
1 parent
0454d8b
commit b913aa8
Showing
19 changed files
with
1,544 additions
and
40 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package v1beta1 | ||
|
||
const ( | ||
DeviceAllocationKey = "harvesterhci.io/deviceAllocationDetails" | ||
) | ||
|
||
type AllocationDetails struct { | ||
GPUs map[string][]string `json:"gpus,omitempty"` | ||
HostDevices map[string][]string `json:"hostdevices,omitempty"` | ||
} |
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.