-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement legacy ServiceImport migration in the agent controller
Legacy per-cluster ServiceImports are longer be created but, for rolling cluster upgrades, there may be a period of time where there is a mix of upgraded and non-upgraded clusters. The latter still need to observe the per-cluster ServiceImports so they need to remain on the broker during the transition period. An upgraded cluster can remove its legacy per-cluster ServiceImport from the broker when it observes that all of the legacy ServiceImport cluster names are present in the aggregated ServiceImport status cluster name list. This indicates that all constituent clusters have been upgraded. Introduced a ServiceImportMigrator that integrates with the ServiceImportController to handle syncing of legacy ServiceImports from the broker and removing the local legacy ServiceImport from the broker based on the criteria above. The latter is triggered whenever an aggregated ServiceImport is synced from the broker, either new or updated. Signed-off-by: Tom Pantelis <[email protected]>
- Loading branch information
Showing
7 changed files
with
535 additions
and
186 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
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
Oops, something went wrong.