Support opaque integer resource accounting.
- Prevents kubelet from overwriting capacity during sync.
- Handles opaque integer resources in the scheduler.
- Adds scheduler predicate tests for opaque resources.
- Validates opaque int resources:
- Ensures supplied opaque int quantities in node capacity,
node allocatable, pod request and pod limit are integers.
- Adds tests for new validation logic (node update and pod spec).
- Added e2e tests for opaque integer resources.
Showing
This diff is collapsed.
Click to expand it.
test/e2e/opaque_resource.go
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment