sidecar_service Block
Placement | job -> group -> service -> connect -> sidecar_service |
The sidecar_service
block allows configuring various options for the sidecar
proxy managed by Nomad for Consul
Connect integration. It is
valid only within the context of a connect block.
sidecar_service
Parameters
disable_default_tcp_check
(bool: false)
- disable the default TCP health check.meta
(map<string|string>: nil)
- Specifies arbitrary KV metadata pairs.port
(string: )
- Port label for sidecar service.proxy
(proxy: nil)
- This is used to configure the sidecar proxy service.tags
(array<string>: nil)
- Custom Consul service tags for the sidecar service.
sidecar_service
Examples
The following example is a minimal sidecar_service
block with defaults
The following example includes specifying upstreams and meta.