This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Map pod names to instance_ids and vice versa
This is a very naive implementation of this maaping: we get all the pods, sort their names alphabetically and map the sorted names to ordered indexes. This approach gives us stable mapping but does not guarantee that during scaling up instance X would be older than instance X-1 [cloudfoundry/eirini-release#207] Co-authored-by: Mario Nitchev <[email protected]>
- Loading branch information
1 parent
ef89bbd
commit 025573e
Showing
2 changed files
with
23 additions
and
4 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