- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StorageEphemeral (0.16 sec)
-
pkg/api/v1/resource/helpers.go
case "limits.memory": return convertResourceMemoryToString(container.Resources.Limits.Memory(), divisor) case "limits.ephemeral-storage": return convertResourceEphemeralStorageToString(container.Resources.Limits.StorageEphemeral(), divisor) case "requests.cpu": return convertResourceCPUToString(container.Resources.Requests.Cpu(), divisor) case "requests.memory":
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 26 13:58:16 UTC 2023 - 16.3K bytes - Viewed (0) -
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)