-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop appworkload reconciliation when DeletionTimestamp is set
If we do not do this the appworkload controller keeps re-creating the same statefulSet over and over again while it is being deleted by the recursive foreground delete operation incurred by deletig the org (the same happens on app deletion for similar reasons). This persistent re-creation of the statefulset results in a significant slowdown of the convergence of the delete operation With this chage the reconciler stops creating statefulSets once it sees that DeletionTimestamp is set, this speeding up the deletion convergence fixes #36867
- Loading branch information
1 parent
5d6eb14
commit bf29c1e
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters