- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for PodQOSClass (0.16 sec)
-
pkg/apis/core/v1/helper/qos/qos.go
type QOSList map[v1.ResourceName]v1.PodQOSClass func isSupportedQoSComputeResource(name v1.ResourceName) bool { return supportedQoSComputeResources.Has(string(name)) } // GetPodQOS returns the QoS class of a pod persisted in the PodStatus.QOSClass field. // If PodStatus.QOSClass is empty, it returns value of ComputePodQOS() which evaluates pod's QoS class. func GetPodQOS(pod *v1.Pod) v1.PodQOSClass { if pod.Status.QOSClass != "" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 08 04:01:46 UTC 2023 - 3.5K bytes - Viewed (0) -
pkg/kubelet/cm/qos_container_manager_linux.go
return nil } func (m *qosContainerManagerImpl) setHugePagesConfig(configs map[v1.PodQOSClass]*CgroupConfig) error { for _, v := range configs { if err := m.setHugePagesUnbounded(v); err != nil { return err } } return nil } func (m *qosContainerManagerImpl) setCPUCgroupConfig(configs map[v1.PodQOSClass]*CgroupConfig) error { pods := m.activePods() burstablePodCPURequest := int64(0)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 20:42:59 UTC 2024 - 13.3K bytes - Viewed (0) -
pkg/apis/core/helper/qos/qos.go
} // GetPodQOS returns the QoS class of a pod persisted in the PodStatus.QOSClass field. // If PodStatus.QOSClass is empty, it returns value of ComputePodQOS() which evaluates pod's QoS class. func GetPodQOS(pod *core.Pod) core.PodQOSClass { if pod.Status.QOSClass != "" { return pod.Status.QOSClass } return ComputePodQOS(pod) } // ComputePodQOS evaluates the list of containers to determine a pod's QoS class. This function is more
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/apis/core/v1/helper/qos/qos_test.go
"k8s.io/kubernetes/pkg/apis/core/helper/qos" corev1 "k8s.io/kubernetes/pkg/apis/core/v1" ) func TestComputePodQOS(t *testing.T) { testCases := []struct { pod *v1.Pod expected v1.PodQOSClass }{ { pod: newPod("guaranteed", []v1.Container{ newContainer("guaranteed", getResourceList("100m", "100Mi"), getResourceList("100m", "100Mi")), }), expected: v1.PodQOSGuaranteed, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 14:47:37 UTC 2023 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go
ContainerStatuses []ContainerStatusApplyConfiguration `json:"containerStatuses,omitempty"` QOSClass *v1.PodQOSClass `json:"qosClass,omitempty"` EphemeralContainerStatuses []ContainerStatusApplyConfiguration `json:"ephemeralContainerStatuses,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:43:16 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/topology_manager_test.go
restrictedPolicy := NewRestrictedPolicy(numaInfo, opts) singleNumaPolicy := NewSingleNumaNodePolicy(numaInfo, opts) tcases := []struct { name string result lifecycle.PodAdmitResult qosClass v1.PodQOSClass policy Policy hp []HintProvider expected bool }{ { name: "QOSClass set as BestEffort. None Policy. No Hints.", qosClass: v1.PodQOSBestEffort, policy: NewNonePolicy(),
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/kuberuntime/kuberuntime_container_linux_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
pkg/apis/core/types.go
) // PodQOSClass defines the supported qos classes of Pods. type PodQOSClass string // These are valid values for PodQOSClass const ( // PodQOSGuaranteed is the Guaranteed qos class. PodQOSGuaranteed PodQOSClass = "Guaranteed" // PodQOSBurstable is the Burstable qos class. PodQOSBurstable PodQOSClass = "Burstable" // PodQOSBestEffort is the BestEffort qos class.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 268.9K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/types.go
AppArmorProfileTypeLocalhost AppArmorProfileType = "Localhost" ) // PodQOSClass defines the supported qos classes of Pods. // +enum type PodQOSClass string const ( // PodQOSGuaranteed is the Guaranteed qos class. PodQOSGuaranteed PodQOSClass = "Guaranteed" // PodQOSBurstable is the Burstable qos class. PodQOSBurstable PodQOSClass = "Burstable" // PodQOSBestEffort is the BestEffort qos class.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 390.8K bytes - Viewed (0) -
pkg/registry/core/pod/strategy_test.go
Name: name, }, Spec: api.PodSpec{ Containers: containers, }, } } func TestGetPodQOS(t *testing.T) { testCases := []struct { pod *api.Pod expected api.PodQOSClass }{ { pod: newPod("guaranteed", []api.Container{ newContainer("guaranteed", getResourceList("100m", "100Mi"), getResourceList("100m", "100Mi")), }), expected: api.PodQOSGuaranteed, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 76.2K bytes - Viewed (0)