mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 04:54:54 +00:00
Refactored deployDevicePlugin, added undeployDevicePlugin - Add skipCleanup parameter to control cleanup behavior - Wait for device plugin resources to become allocatable on deploy - Add undeployDevicePlugin function to properly cleanup and wait for resources to be removed from node allocatable capacity - Update tests to use refactored functions and remove duplicate code These changes reduce test flakiness by explicitly waiting for expected node states before proceeding with test operations.