- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for GenerateAnnotations (0.28 sec)
-
pkg/kubelet/cm/util/cdi/cdi_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 09:47:53 UTC 2023 - 1.5K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateLanguageAnnotations.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 07 08:27:12 UTC 2023 - 2K bytes - Viewed (0) -
pkg/kubelet/cm/dra/claiminfo.go
ClaimInfoState: *state.DeepCopy(), annotations: make(map[string][]kubecontainer.Annotation), prepared: false, } for pluginName, devices := range info.CDIDevices { annotations, _ := cdi.GenerateAnnotations(info.ClaimUID, info.DriverName, devices) info.annotations[pluginName] = append(info.annotations[pluginName], annotations...) } return info } // setCDIDevices adds a set of CDI devices to the claim info.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 03 13:30:31 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/kubelet/cm/util/cdi/cdi.go
) const ( // annotationPrefix is the prefix for CDI container annotation keys. annotationPrefix = "cdi.k8s.io/" ) // GenerateAnnotations generate container annotations using CDI UpdateAnnotations API. func GenerateAnnotations( claimUID types.UID, driverName string, cdiDevices []string, ) ([]kubecontainer.Annotation, error) { if len(cdiDevices) == 0 { return nil, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 09:48:24 UTC 2023 - 9.5K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices.go
// We sort the CDI devices to ensure that the annotation value is deterministic. sortedCDIDevices := sets.List[string](cdiDevices) annotations, err := cdi.GenerateAnnotations(types.UID(resourceID), "devicemanager", sortedCDIDevices) if err != nil { klog.ErrorS(err, "Failed to create CDI annotations") return nil } var cdiAnnotations []kubecontainer.Annotation
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0)