k3s/test
k8s-merge-robot 6ae6450a39 Merge pull request #28636 from derekwaynecarr/quota_pvc_storage
Automatic merge from submit-queue

Add support to quota pvc storage requests

Adds support to quota cumulative `PersistentVolumeClaim` storage requests in a namespace.

Per our chat today @markturansky @abhgupta - this is not done (lacks unit testing), but is functional.

This lets quota enforcement for `PersistentVolumeClaim` to occur at creation time.  Supporting bind time enforcement would require substantial more work.  It's possible this is sufficient for many, so I am opening it up for feedback.

In the future, I suspect we may want to treat local disk in a special manner, but that would have to be a different resource altogether (i.e. `requests.disk`) or something.

Example quota:

```
apiVersion: v1
kind: ResourceQuota
metadata:
  name: quota
spec:
  hard:
    persistentvolumeclaims: "10"
    requests.storage: "40Gi"
```

/cc @kubernetes/rh-cluster-infra @deads2k
2016-07-31 09:26:20 -07:00
..
component/scheduler/perf Fix broken warning image link in docs 2016-07-15 10:44:58 +01:00
e2e Merge pull request #28636 from derekwaynecarr/quota_pvc_storage 2016-07-31 09:26:20 -07:00
e2e_node Merge pull request #29813 from jayunit100/kill-repo-root-slb-2 2016-07-29 21:42:42 -07:00
fixtures/pkg/kubectl/cmd/apply Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
images Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
integration Merge pull request #29798 from caesarxuchao/fix-29451 2016-07-29 17:25:23 -07:00
kubemark Update etcd deprecated flag 2016-07-22 11:01:11 -07:00
soak Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
utils Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
.gitattributes Add test/test_owners.csv, for automatic assignment of test failures. 2016-07-01 17:39:14 -07:00
OWNERS
test_owners.csv Address PR comments, randomly assign owners for new tests. 2016-07-06 13:22:53 -07:00