From 025ce95bf82c8697f75854e73388116c0651f587 Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Fri, 15 Sep 2017 14:02:37 -0700 Subject: [PATCH 1/2] Add quota support for local ephemeral storage update the doc to this alpha feature --- docs/concepts/policy/resource-quotas.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/concepts/policy/resource-quotas.md b/docs/concepts/policy/resource-quotas.md index 814567c440b92..27b53b7abaca5 100644 --- a/docs/concepts/policy/resource-quotas.md +++ b/docs/concepts/policy/resource-quotas.md @@ -84,6 +84,12 @@ define a quota as follows: * `gold.storageclass.storage.k8s.io/requests.storage: 500Gi` * `bronze.storageclass.storage.k8s.io/requests.storage: 100Gi` +In release 1.8, quota support for local ephemeral storage is added as alpha feature +| Resource Name | Description | +| --------------------- |----------------------------------------------------------- | +| `requests.ephemeral-storage` | Across all pods in the namespace, the sum of local ephemeral storage requests cannot exceed this value. | +| `limits.ephemeral-storage` | Across all pods in the namespace, the sum of local ephemeral storage limits cannot exceed this value. | + ## Object Count Quota The number of objects of a given type can be restricted. The following types From 1f74f7ea47809fc7e014e0ae57751faea7c18c46 Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Fri, 15 Sep 2017 14:09:49 -0700 Subject: [PATCH 2/2] Update resource-quotas.md --- docs/concepts/policy/resource-quotas.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/concepts/policy/resource-quotas.md b/docs/concepts/policy/resource-quotas.md index 27b53b7abaca5..fb9b07e3d6f83 100644 --- a/docs/concepts/policy/resource-quotas.md +++ b/docs/concepts/policy/resource-quotas.md @@ -85,8 +85,9 @@ define a quota as follows: * `bronze.storageclass.storage.k8s.io/requests.storage: 100Gi` In release 1.8, quota support for local ephemeral storage is added as alpha feature + | Resource Name | Description | -| --------------------- |----------------------------------------------------------- | +| ------------------------------- |----------------------------------------------------------- | | `requests.ephemeral-storage` | Across all pods in the namespace, the sum of local ephemeral storage requests cannot exceed this value. | | `limits.ephemeral-storage` | Across all pods in the namespace, the sum of local ephemeral storage limits cannot exceed this value. |