From 603baa096602e82a67b47122721b5c8f6b797e2c Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Sat, 20 Apr 2019 12:25:29 -0500 Subject: [PATCH 1/2] Update resource-limits.md Suggested rewordings for clarity - but I am not going to merge it myself, as I don't want to accidentally change meaning. --- slides/k8s/resource-limits.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slides/k8s/resource-limits.md b/slides/k8s/resource-limits.md index 673d3d6d..578f6608 100644 --- a/slides/k8s/resource-limits.md +++ b/slides/k8s/resource-limits.md @@ -309,7 +309,7 @@ per Pod, but it's not [officially documented yet](https://github.com/kubernetes/ (but the pods will not be created as long as the LimitRange is in effect) -- If there are multiple LimitRange, they all apply together +- If there are multiple LimitRange restrictions, they all apply together (which means that it's possible to specify conflicting LimitRanges,
preventing any Pod from being created) @@ -329,7 +329,7 @@ per Pod, but it's not [officially documented yet](https://github.com/kubernetes/ - Quotas can apply to resource limits and/or requests - (like the CPU and memory limits that we saw earlire) + (like the CPU and memory limits that we saw earlier) - Quotas can also apply to other resources: @@ -343,7 +343,7 @@ per Pod, but it's not [officially documented yet](https://github.com/kubernetes/ ## Creating a quota for a namespace -- Quotas are enforced by creating a ResourceQuotas object +- Quotas are enforced by creating a ResourceQuota object - ResourceQuota objects are namespaced, and apply to their namespace only @@ -441,7 +441,7 @@ services.nodeports 0 0 - Quotas can be linked to a PriorityClass -- This allows to reserve resources to pods within a namespace +- This allows us to reserve resources for pods within a namespace - For more details, check [this documentation page](https://kubernetes.io/docs/concepts/policy/resource-quotas/#resource-quota-per-priorityclass) From 9296b375f37ef02ce80fc4f313f194a48171bd5c Mon Sep 17 00:00:00 2001 From: Bridget Kromhout Date: Sat, 20 Apr 2019 15:47:09 -0500 Subject: [PATCH 2/2] Update resource-limits.md --- slides/k8s/resource-limits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slides/k8s/resource-limits.md b/slides/k8s/resource-limits.md index 578f6608..d008e172 100644 --- a/slides/k8s/resource-limits.md +++ b/slides/k8s/resource-limits.md @@ -509,7 +509,7 @@ services.nodeports 0 0 - If you see trends: adjust the LimitRange - (rather that adjusting every individual set of pod limits) + (rather than adjusting every individual set of pod limits) - Observe the resource usage of your namespaces