- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for BestEffort (0.33 sec)
-
pkg/kubelet/preemption/preemption_test.go
}, { testName: "choose between bestEffort and burstable", preemptor: allPods[clusterCritical], inputPods: []*v1.Pod{allPods[burstable], allPods[bestEffort]}, insufficientResources: getAdmissionRequirementList(0, 0, 1), expectErr: false, expectedOutput: []*v1.Pod{allPods[bestEffort]}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 24 10:04:08 UTC 2022 - 19.2K bytes - Viewed (0) -
pkg/kubelet/preemption/preemption.go
} // sortPodsByQOS returns lists containing besteffort, burstable, and guaranteed pods that // can be preempted by preemptor pod. func sortPodsByQOS(preemptor *v1.Pod, pods []*v1.Pod) (bestEffort, burstable, guaranteed []*v1.Pod) { for _, pod := range pods { if kubetypes.Preemptable(preemptor, pod) { switch v1qos.GetPodQOS(pod) { case v1.PodQOSBestEffort: bestEffort = append(bestEffort, pod) case v1.PodQOSBurstable:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 16:53:19 UTC 2023 - 11.5K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/topology_manager_test.go
hp: []HintProvider{}, expected: true, }, { name: "QOSClass set as BestEffort. single-numa-node Policy. No Hints.", qosClass: v1.PodQOSBestEffort, policy: singleNumaPolicy, hp: []HintProvider{ &mockHintProvider{}, }, expected: true, }, { name: "QOSClass set as BestEffort. Restricted Policy. No Hints.", qosClass: v1.PodQOSBestEffort, policy: restrictedPolicy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 13:04:32 UTC 2023 - 13.8K bytes - Viewed (0) -
pkg/kubelet/cm/pod_container_manager_linux.go
parentContainer = m.qosContainersInfo.Guaranteed case v1.PodQOSBurstable: parentContainer = m.qosContainersInfo.Burstable case v1.PodQOSBestEffort: parentContainer = m.qosContainersInfo.BestEffort } podContainer := GetPodCgroupNameSuffix(pod.UID) // Get the absolute path of the cgroup cgroupName := NewCgroupName(parentContainer, podContainer) // Get the literal cgroupfs name
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 16:38:36 UTC 2023 - 12.5K bytes - Viewed (0) -
pkg/kubelet/cm/qos_container_manager_linux.go
} // Create containers for both qos classes for qosClass, containerName := range qosClasses { resourceParameters := &ResourceConfig{} // the BestEffort QoS class has a statically configured minShares value if qosClass == v1.PodQOSBestEffort { minShares := uint64(MinShares) resourceParameters.CPUShares = &minShares }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 20:42:59 UTC 2024 - 13.3K 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/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/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) -
pkg/kubelet/apis/config/types.go
// If CgroupsPerQOS is enabled, this is the root of the QoS cgroup hierarchy. CgroupRoot string // Enable QoS based Cgroup hierarchy: top level cgroups for QoS Classes // And all Burstable and BestEffort pods are brought up under their // specific top level QoS cgroup. CgroupsPerQOS bool // driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd) CgroupDriver string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 21:10:42 UTC 2024 - 35.1K bytes - Viewed (0)