Consul Troubleshoot Proxy
Command: consul troubleshoot proxy
The troubleshoot proxy
command diagnoses Consul service mesh configuration and network issues to an upstream. For additional information about using the troubleshoot proxy
command, including explanations, requirements, usage instructions, refer to the service-to-service troubleshooting overview.
Usage
Usage: consul troubleshoot proxy (-upstream-ip <ip>|-upstream-envoy-id <envoy-id>) [options]
This command requires -envoy-admin-endpoint
or -upstream-ip
to specify the upstream.
Command Options
-envoy-admin-endpoint=<value>
- Envoy admin endpoint address for the local Envoy instance. Defaults to127.0.0.1:19000
.-upstream-ip=<value>
- The IP address of the upstream service; Use when the upstream is reached via a transparent proxy DNS address (KubeDNS or Consul DNS)-upstream-envoy-id=<value>
- The Envoy identifier of the upstream service; Use when the upstream is explicitly configured on the downstream service.
Examples
The following example illustrates how to troubleshoot Consul service mesh configuration and network issues to an upstream from a source proxy.
The following example troubleshoots Consul service mesh configuration and network issues from the local Envoy instance to the given upstream.