Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UNIX Domain Socket support added for connect in parallel to Consul UDS support in v1.10 #10705

Open
jboero opened this issue Jun 4, 2021 · 1 comment
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/consul/connect Consul Connect integration theme/consul theme/service-discovery/consul type/enhancement

Comments

@jboero
Copy link
Contributor

jboero commented Jun 4, 2021

Proposal

Consul 1.10 is releasing UDS support for services and Connect. Support has been included as of 1.10beta2 release. I've been experimenting with manually registering services like MySQL running on a UDS instead of TCP but this would clearly be useful in Nomad as well.

Consul has added the service option socket_path as alternative to port or ports. Ergo it would be a great paring with Consul if Nomad's service descriptor could support that.

Example:

service {
  name = "count-api"
  port = "9001"

  connect {
    sidecar_service {}
  }
}

service {
  name = "mysql"
  socket_path = "/run/mysqld.sock"

  connect {
    sidecar_service {}
  }
}
@tgross tgross added theme/consul stage/accepted Confirmed, and intend to work on. No timeline committment though. labels Jun 4, 2021
@johnalotoski
Copy link

This would be great to have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/accepted Confirmed, and intend to work on. No timeline committment though. theme/consul/connect Consul Connect integration theme/consul theme/service-discovery/consul type/enhancement
Projects
None yet
Development

No branches or pull requests

4 participants