Skip to content

Conversation

@enocom
Copy link
Member

@enocom enocom commented Sep 13, 2022

In Kubernetes, the convention is to bind HTTP probes and Prometheus endpoints to 0.0.0.0 (both lo and eth0). Since people might want to run this code on a GCE VM, default to localhost, but otherwise support binding to both interfaces.

This is a port of GoogleCloudPlatform/cloud-sql-proxy#1365.

In Kubernetes, the convention is to bind HTTP probes and Prometheus endpoints to
0.0.0.0 (both lo and eth0). Since people might want to run this code on a GCE
VM, default to localhost, but otherwise support binding to both interfaces.

This is a port of GoogleCloudPlatform/cloud-sql-proxy#1365.
@enocom enocom requested a review from a team September 13, 2022 16:54
@enocom enocom changed the title fix: support configuration of HTTP server address (#1365) fix: support configuration of HTTP server address Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants