kubernetes/pkg/volume/fc
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
..
attacher.go Reject pod when attachment limit is exceeded (#132933) 2025-07-24 17:58:54 -07:00
disk_manager.go Handle returned error as placeholder variables for now 2025-02-24 16:26:48 -05:00
doc.go remove import doc comments 2024-12-02 16:59:34 +01:00
fc.go Remove GetExec method from VolumeHost 2025-06-13 10:58:37 +08:00
fc_test.go remove volumeoptions from VolumePlugin and BlockVolumePlugin 2024-07-24 14:07:02 +08:00
fc_util.go various corrections in pkg/volume 2022-09-16 16:42:06 +05:30
fc_util_linux_test.go Added check for multipath device mapper 2025-01-08 19:44:11 +05:30
fc_util_test.go Added check for multipath device mapper 2025-01-08 19:44:11 +05:30
OWNERS Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00