Skip to content

feat: add force deletion for stuck terminating pods during cluster de…#9

Merged
zijiren233 merged 5 commits into
labring:fix/v0.8.2from
wallyxjh:fix-finalizer-and-role-issue
Jan 29, 2026
Merged

feat: add force deletion for stuck terminating pods during cluster de…#9
zijiren233 merged 5 commits into
labring:fix/v0.8.2from
wallyxjh:fix-finalizer-and-role-issue

Conversation

@wallyxjh

Copy link
Copy Markdown
Collaborator

…letion

  • Add ForceDeleteStuckTerminatingPod/Pods functions in controllerutil
  • Add GetUnderlyingClient method to GraphClient interface
  • Integrate force deletion in cluster deletion transformer
  • Pods terminating for more than 60s will be force deleted
  • This fixes the issue where PVCs cannot be deleted due to pvc-protection finalizer

@wallyxjh wallyxjh force-pushed the fix-finalizer-and-role-issue branch from af29f7a to 3378192 Compare January 29, 2026 03:02
…letion

- Add ForceDeleteStuckTerminatingPod/Pods functions in controllerutil
- Add GetUnderlyingClient method to GraphClient interface
- Integrate force deletion in cluster deletion transformer
- Pods terminating for more than 60s will be force deleted
- This fixes the issue where PVCs cannot be deleted due to pvc-protection finalizer
@wallyxjh wallyxjh force-pushed the fix-finalizer-and-role-issue branch from 3378192 to 6c8fa2d Compare January 29, 2026 03:40
@pull-request-size pull-request-size Bot added size/M and removed size/L labels Jan 29, 2026
@zijiren233 zijiren233 merged commit 6408a5a into labring:fix/v0.8.2 Jan 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants