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.
Required because AWS VPCs set the
host.address
sensor to a VPC local IP address. Thehost.name
will resolve correctly to the public IP externally and the VPC IP internally, so use this for the reportedkubernetes.url
sensor that is propagated to the application root asmain.uri
for the dashboard UI.