This repository has been archived by the owner on May 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
traffic controller: watch Pod events
The traffic controller needs to be notified of changes to pods, so it can update the status of TrafficTargets, and make changes to other pods if necessary. Currently, it relies on a resync of the TrafficTarget to trigger any changes to pods that need to receive traffic. If we run shipper without resyncs for long enough, it's possible that pods will die and be re-scheduled without ever receiving traffic again. Now, we apply the same technique we used in the other controllers to watch for events in the application cluster objects.
- Loading branch information
1 parent
2076bd6
commit 7ed9c74
Showing
3 changed files
with
58 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
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