forked from github/multus-cni
parse kubelet checkpoint file for pod devices
Enabling kubelete checkpoint file parsing to get Pod device info so that these device information can be passed into CNI plugins that need specific device information to work on. Change-Id: I6630f56adc0a8307f575fc09ce9090c1ffca0337
This commit is contained in:
committed by
Kuralamudhan Ramakrishnan
parent
46a0f7590c
commit
e3d14b2732
@@ -131,3 +131,9 @@ type K8sArgs struct {
|
||||
K8S_POD_NAMESPACE types.UnmarshallableString
|
||||
K8S_POD_INFRA_CONTAINER_ID types.UnmarshallableString
|
||||
}
|
||||
|
||||
// ResourceInfo is struct to hold Pod device allocation information
|
||||
type ResourceInfo struct {
|
||||
Index int
|
||||
DeviceIDs []string
|
||||
}
|
||||
|
Reference in New Issue
Block a user