forked from spinnaker/clouddriver
-
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.
fix(provider/kubernetes): v1 eventual consistency bug in disable (spi…
…nnaker#2321) It turns out it was possible that we would 1. apply an annotation 2. toggle replica set labels 3. fail to wait for the label change to be applied Part 3. could happen because the generation of the replica set returned from the "toggle label" operation was that of the "apply annotation" operation. The "wait for consistency" step we usually do here was then skipped causing us to edit pod labels before the replica set owning them was finised updating. This doesn't happen often, but enough to be a real problem.
- Loading branch information
Showing
2 changed files
with
18 additions
and
8 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