- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StorageEphemeral (0.19 sec)
-
pkg/kubelet/eviction/eviction_manager.go
thresholdsMap := make(map[string]*resource.Quantity) for _, container := range pod.Spec.Containers { ephemeralLimit := container.Resources.Limits.StorageEphemeral() if ephemeralLimit != nil && ephemeralLimit.Value() != 0 { thresholdsMap[container.Name] = ephemeralLimit } } for _, containerStat := range podStats.Containers {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 18:55:56 UTC 2024 - 24.6K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager_test.go
case "container-ephemeral-storage-limit": podStats = newPodMemoryStats(pod, *resource.NewQuantity(limits.StorageEphemeral().Value(), resource.BinarySI)) case "pod-ephemeral-storage-limit": podStats = newPodMemoryStats(pod, *resource.NewQuantity(limits.StorageEphemeral().Value()*2, resource.BinarySI)) default: podStats = newPodMemoryStats(pod, resource.MustParse(memoryWorkingSet)) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 15 23:14:12 UTC 2024 - 119.9K bytes - Viewed (0)