Merge pull request #6708 from vikaschoudhary16/er-resource-req

Fix Extended Resources consumption documentation
This commit is contained in:
Qiming
2017-12-23 10:25:15 +08:00
committed by GitHub
4 changed files with 9 additions and 1 deletions
@@ -507,7 +507,7 @@ JSON-Pointer. For more details, see
{: .note}
To consume an Extended Resource in a Pod, include the resource name as a key
in the `spec.containers[].resources.requests` map.
in the `spec.containers[].resources.limits` map in the container spec.
**Note:** Extended resources cannot be overcommitted, so request and limit
must be equal if both are present in a container spec.
@@ -535,6 +535,8 @@ spec:
requests:
cpu: 2
example.com/foo: 1
limits:
example.com/foo: 1
```
## Planned Improvements