![]() Automatic merge from submit-queue (batch tested with PRs 47883, 47179, 46966, 47982, 47945) Fix local isolation for pod requesting only overlay or scratch **What this PR does / why we need it**: Fix overlay resource predicates for pod with only overlay or scratch storage request. E.g. the following pod can pass predicate even if overlay is only 512Gi. ```yaml apiVersion: v1 kind: Pod metadata: name: pod spec: containers: - name: nginx image: nginx resources: requests: storage.kubernetes.io/overlay: 1024Gi ``` similarly, following pod will also pass predicate ```yaml apiVersion: v1 kind: Pod metadata: name: pod spec: containers: - name: nginx image: nginx volumeMounts: - name: data mountPath: /data volumes: - name: data emptyDir: sizeLimit: 1024Gi ``` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes https://github.com/kubernetes/kubernetes/issues/47798 **Special notes for your reviewer**: **Release note**: ```release-note ``` @jingxu97 @vishh @dashpole |
||
---|---|---|
.. | ||
predicates | ||
priorities | ||
BUILD | ||
doc.go | ||
scheduler_interface_test.go | ||
scheduler_interface.go | ||
types_test.go | ||
types.go | ||
well_known_labels.go |