-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use hostname instead of IP address (#249)
When a pod churns, if we are using IP addresses in relation data, we need to update all the places where the address is present. If we use the fqdn, we will not need to worry about keeping relation data up to date as it will not change. * Use hostname instead of IP address to avoid issues with pod churn. Also, make sure we update remote write to use this on charm upgrade. * fix unit tests to work with fqdn instead of ip * There are a number of cases where we need to update the remote write endpoint so run it in _configure
- Loading branch information
Showing
3 changed files
with
13 additions
and
27 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