forked from bitpoke/mysql-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reconcile vtbackup PVCs like vttablet (bitpoke#222)
In order for dynamic local storage provisioners to influence pod scheduling for future PV creation, ensure the vtbackup data PVC exists before the Pod. This matches the order in reconcile_tablets.go. Decouple the orphan Pod detection for pods of all phases (Pending, Running, Succeeded, Failed, Unknown). Ensure that temporary node failures marking pods as Failed do not inadvertently delete PVCs until reconciling a termination of the Pod. Fixes: bitpoke#221 Signed-off-by: Sean Treadway <[email protected]>
- Loading branch information
Sean Treadway
authored
Oct 4, 2021
1 parent
4d8d14c
commit 958e432
Showing
1 changed file
with
28 additions
and
26 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