QoS Class BestEffort¶
QoS Class BestEffort is a Kubernetes quality-of-service (QoS) class assigned to Pods that do not have specified memory or CPU limits or requests^[400-devops-06-kubernetes-k8s-learning-03pod-readme.md#L31-L34].
Characteristics¶
When a Pod is assigned the BestEffort QoS class, it indicates that the workload has no guaranteed resources. This occurs specifically when both memory and CPU limits and requests are undefined^[400-devops-06-kubernetes-k8s-learning-03pod-readme.md#L31-L34]. In the event of resource contention, BestEffort Pods are the first candidates for eviction to free up resources for higher-priority workloads, such as those classified as Guaranteed or Burstable.
Verification¶
You can verify the QoS Class assigned to a Pod by inspecting its status details using the kubectl describe command^[400-devops-06-kubernetes-k8s-learning-03pod-readme.md#L5-L7]. The output includes a QoS Class field (e.g., QoS Class: BestEffort) that explicitly lists the classification^[400-devops-06-kubernetes-k8s-learning-03pod-readme.md#L31-L34].
Related Concepts¶
Sources¶
^[400-devops-06-kubernetes-k8s-learning-03pod-readme.md]