task-networking: allowing easier discovery or connectivity to local Consul agents #10665
Labels
stage/accepted
Confirmed, and intend to work on. No timeline committment though.
theme/networking
type/enhancement
It would be helpful to provide a nicer experience in situations where tasks require access to the Consul API. It is possible to hook this up currently, but the way in which it needs to be done seems suboptimal. The request has came about due to work being performed on the Nomad Autoscaler which will optionally use Consul in the future.
Nomad Connect native tasks receive a number of Consul environment variables, including the HTTP address via the
connectNativeHook
which could potentially be replicated here as an opt-in for tasks running on nodes where there is a configured Consul client from the nodes view.This functionality could also be extended to Vault, allowing for better integration across commonly used HashiCorp products.
Internal discussions points regarding potential solutions for context:
The text was updated successfully, but these errors were encountered: