Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes#47179 from ddysher/local-isolation-fix
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 kubernetes#47798 **Special notes for your reviewer**: **Release note**: ```release-note ``` @jingxu97 @vishh @dashpole
- Loading branch information