- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 28 for BestEffort (0.12 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/managedfields/pod.yaml
name: name ready: true restartCount: 6 state: running: startedAt: '2019-07-08T09:41:59Z' hostIP: 10.0.0.1 phase: Running podIP: 10.0.0.1 qosClass: BestEffort
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/kubelet/cm/container_manager_linux_test.go
} } }) } } func TestNewPodContainerManager(t *testing.T) { info := QOSContainersInfo{ Guaranteed: CgroupName{"guaranteed"}, BestEffort: CgroupName{"besteffort"}, Burstable: CgroupName{"burstable"}, } QosEnabled := NodeConfig{ CgroupsPerQOS: true, } QosDisabled := NodeConfig{ CgroupsPerQOS: false, } cases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 9.7K bytes - Viewed (0) -
pkg/apis/core/v1/helper/qos/qos.go
} // ComputePodQOS evaluates the list of containers to determine a pod's QoS class. This function is more // expensive than GetPodQOS which should be used for pods having a non-empty .Status.QOSClass. // A pod is besteffort if none of its containers have specified any requests or limits. // A pod is guaranteed only when requests and limits are specified for all the containers and they are equal.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 04:01:46 UTC 2023 - 3.5K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
// - /kubepods.slice/kubepods-burstable.slice/kubepods-burstable-pod2c48913c-b29f-11e7-9350-020968147796.slice/docker-9bca8d63d5fa610783847915bcff0ecac1273e5b4bed3f6fa1b07350e0135961.scope
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
pkg/apis/core/helper/qos/qos.go
} // ComputePodQOS evaluates the list of containers to determine a pod's QoS class. This function is more // expensive than GetPodQOS which should be used for pods having a non-empty .Status.QOSClass. // A pod is besteffort if none of its containers have specified any requests or limits. // A pod is guaranteed only when requests and limits are specified for all the containers and they are equal.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 04:01:46 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/kubelet/qos/policy.go
// that burstable pods have a higher OOM score adjustment. if int(oomScoreAdjust) < (1000 + guaranteedOOMScoreAdj) { return (1000 + guaranteedOOMScoreAdj) } // Give burstable pods a higher chance of survival over besteffort pods. if int(oomScoreAdjust) == besteffortOOMScoreAdj { return int(oomScoreAdjust - 1) } return int(oomScoreAdjust)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 10 14:49:26 UTC 2023 - 3.3K bytes - Viewed (0) -
pkg/kubelet/cm/helpers_linux_test.go
guaranteedMemory := memoryQuantity.Value() testCases := map[string]struct { pod *v1.Pod expected *ResourceConfig enforceCPULimits bool quotaPeriod uint64 // in microseconds }{ "besteffort": { pod: &v1.Pod{ Spec: v1.PodSpec{ Containers: []v1.Container{ { Resources: getResourceRequirements(getResourceList("", ""), getResourceList("", "")), }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 27.8K bytes - Viewed (0) -
pkg/kubelet/cm/types.go
SetCgroupConfig(name CgroupName, resource v1.ResourceName, resourceConfig *ResourceConfig) error } // QOSContainersInfo stores the names of containers per qos type QOSContainersInfo struct { Guaranteed CgroupName BestEffort CgroupName Burstable CgroupName } // PodContainerManager stores and manages pod level containers // The Pod workers interact with the PodContainerManager to create and destroy // containers for the pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 5.4K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager.go
notBestEffort := v1.PodQOSBestEffort != v1qos.GetPodQOS(attrs.Pod) if notBestEffort { return lifecycle.PodAdmitResult{Admit: true} } // When node has memory pressure, check BestEffort Pod's toleration: // admit it if tolerates memory pressure taint, fail for other tolerations, e.g. DiskPressure. if corev1helpers.TolerationsTolerateTaint(attrs.Pod.Spec.Tolerations, &v1.Taint{
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/cm/cpumanager/policy_static.go
// conditions are met: // // - The pod QoS class is Guaranteed. // - The CPU request is a positive integer. // // The static policy maintains the following sets of logical CPUs: // // - SHARED: Burstable, BestEffort, and non-integral Guaranteed containers // run here. Initially this contains all CPU IDs on the system. As // exclusive allocations are created and destroyed, this CPU set shrinks
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 28.8K bytes - Viewed (0)