kubernetes/pkg/volume/util/operationexecutor
Eddie 727a6e6db5
Reject pod when attachment limit is exceeded (#132933)
* Reject pod when attachment limit is exceeded

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Record admission rejection

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Fix pull-kubernetes-linter-hints

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Fix AD Controller unit test failure

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Consolidate error handling logic in WaitForAttachAndMount

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Improve error context

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Update admissionRejectionReasons to include VolumeAttachmentLimitExceededReason

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Update status message

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Add TestWaitForAttachAndMountVolumeAttachLimitExceededError unit test

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Add e2e test

Signed-off-by: Eddie Torres <torredil@amazon.com>

* Fix pull-kubernetes-linter-hints

Signed-off-by: Eddie Torres <torredil@amazon.com>

---------

Signed-off-by: Eddie Torres <torredil@amazon.com>
2025-07-24 17:58:54 -07:00
..
fakegenerator.go clean up csi translator from volume operation generator 2024-10-28 18:27:10 +08:00
node_expander.go Add code for not expanding volume if it has NodeExpansionNotRequired annotation 2025-05-28 13:07:34 -04:00
node_expander_test.go Bump RecoverVolumeExpansionFailure to GA 2025-07-10 12:19:31 -04:00
operation_executor.go rename Gid => GID 2024-11-06 11:11:13 +08:00
operation_executor_test.go clean up csi translator from volume operation generator 2024-10-28 18:27:10 +08:00
operation_generator.go Reject pod when attachment limit is exceeded (#132933) 2025-07-24 17:58:54 -07:00
operation_generator_test.go Bump RecoverVolumeExpansionFailure to GA 2025-07-10 12:19:31 -04:00