brooklyncentral / clocker

Apache Brooklyn cloud native infrastructure blueprints
Apache License 2.0
428 stars 66 forks source link

Change load balancer URI to use host.name for AWS #391

Closed grkvlt closed 7 years ago

grkvlt commented 7 years ago

Required because AWS VPCs set the host.address sensor to a VPC local IP address. The host.name will resolve correctly to the public IP externally and the VPC IP internally, so use this for the reported kubernetes.url sensor that is propagated to the application root as main.uri for the dashboard UI.

andreaturli commented 7 years ago

+1

looks useful from my tests as well