Skip to content

Commit 6cd2ca5

Browse files
AmarNathCharyTim Bannister
andauthored
Update content/en/blog/_posts/2023-11-16-the-case-for-kubernetes-limits/index.md
Co-authored-by: Tim Bannister <[email protected]>
1 parent 1e58edd commit 6cd2ca5

File tree

1 file changed

+1
-1
lines changed
  • content/en/blog/_posts/2023-11-16-the-case-for-kubernetes-limits

1 file changed

+1
-1
lines changed

content/en/blog/_posts/2023-11-16-the-case-for-kubernetes-limits/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Firstly, let’s discuss bin-packing and cluster resource allocation. There’s
3535

3636
When configuring fixed-fraction headroom limits, a proportional amount of this will be available to the pods. If the percentage of unallocated resources in the cluster is lower than the constant we use for setting fixed-fraction headroom limits (see the figure, line 2), all the pods together are able to theoretically use up all the node’s resources; otherwise there are some resources that will inevitably be wasted (see the figure, line 1). In order to eliminate the inevitable resource waste, the percentage for fixed-fraction headroom limits should be configured so that it’s at least equal to the expected percentage of unallocated resources.
3737

38-
{{<figure alt="Chart displaying various requests/limits configurations" width="100%" src="requests-limits-configurations.svg">}}
38+
{{<figure alt="Chart displaying various requests/limits configurations" class="diagram-medium" src="requests-limits-configurations.svg">}}
3939

4040
For requests = limits (see the figure, line 3), this does not hold: Unless we’re able to allocate all node’s resources, there’s going to be some inevitably wasted resources. Without any knobs to turn on the requests/limits side, the only suitable approach here is to ensure efficient bin-packing on the nodes by configuring correct machine profiles. This can be done either manually or by using a variety of cloud service provider tooling – for example [Karpenter](https://karpenter.sh/) for EKS or [GKE Node auto provisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning).
4141

0 commit comments

Comments
 (0)