adjustments

pull/16385/head
boruszak 2023-02-22 16:27:54 -06:00
parent e8466bf479
commit f919a6e77b
1 changed files with 12 additions and 8 deletions

View File

@ -55,7 +55,7 @@ Using the service-to-service troubleshooting tool is a two-step process:
In deployments without transparent proxies, the identifier is the _Envoy ID for the upstream services sidecar proxy_. If you use transparent proxies, the identifier is the _upstream services IP address_. For more information about using transparent proxies, refer to [Enable transparent proxy mode](/consul/docs/connect/transparent-proxy).
### VMs
### Troubleshoot on VMs
To troubleshoot service-to-service communication issues in deployments that use VMs or bare-metal servers:
@ -63,6 +63,7 @@ To troubleshoot service-to-service communication issues in deployments that use
```shell-session
$ consul troubleshoot upstreams
==> Upstreams (explicit upstreams only) (0)
==> Upstreams IPs (transparent proxy only) (1)
[10.4.6.160 240.0.0.3] true map[backend.default.dc1.internal.e08fa6d6-e91e-dfe0-f6e1-ba097a828e31.consul backend2.default.dc1.internal.e08fa6d6-e91e-dfe0-f6e1-ba097a828e31.consul]
@ -75,6 +76,7 @@ To troubleshoot service-to-service communication issues in deployments that use
```shell-session
$ consul troubleshoot proxy -upstream-ip 10.4.6.160
==> Validation
✓ Certificates are valid
✓ Envoy has 0 rejected configurations
@ -95,7 +97,7 @@ In the example, troubleshooting upstream communication reveals that the `backend
The output from the troubleshooting process identifies service instances according to their [Consul DNS address](/consul/docs/discovery/dns#standard-lookup). Use the DNS information for failing services to diagnose the specific issues affecting the service instance.
### Kubernetes
### Troubleshoot on Kubernetes
To troubleshoot service-to-service communication issues in deployments that use Kubernetes, retrieve the upstream information for the pod that is experiencing communication failures and use the upstream information to identify the proxy you want to perform the troubleshooting process on.
@ -103,6 +105,7 @@ To troubleshoot service-to-service communication issues in deployments that use
```shell-session
$ consul-k8s troubleshoot upstreams -pod frontend-767ccfc8f9-6f6gx
==> Upstreams (explicit upstreams only) (0)
==> Upstreams IPs (transparent proxy only) (1)
[10.4.6.160 240.0.0.3] true map[backend.default.dc1.internal.e08fa6d6-e91e-dfe0-f6e1-ba097a828e31.consul backend2.default.dc1.internal.e08fa6d6-e91e-dfe0-f6e1-ba097a828e31.consul]
@ -115,6 +118,7 @@ To troubleshoot service-to-service communication issues in deployments that use
```shell-session
$ consul-k8s troubleshoot proxy -pod frontend-767ccfc8f9-6f6gx -upstream-ip 10.4.6.160
==> Validation
✓ certificates are valid
✓ Envoy has 0 rejected configurations