Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 2.95 KB

03-00-istio-basic-diagnostics.md

File metadata and controls

26 lines (20 loc) · 2.95 KB

Istio Basic Diagnostics

If you are experiencing issues with the cluster, follow the steps below to troubleshoot the problem before you contact us. This guide is designed to help you identify the root cause of the problem, which might not necessarily be related to Istio itself but rather to the misconfiguration of Istio custom resources (CRs) or other cluster resources.

Network Connectivity

  1. Verify if Istio CR is in the Warning state. If it is, check the warning message and conditions. This might be helpful at the beginning of the investigation.
  2. Verify that no NetworkPolicies are affecting the connectivity by blocking traffic between Pods in the service mesh. To find all NetworkPolicies, run the command kubectl get networkpolicies -A.
  3. The configuration of the following kinds of resources can affect the connectivity in the service mesh. Verify that those resources are configured as intended:
  4. Use the command istioctl analyze -A to check for potential issues in the Istio configuration and see suggestions on how to fix them.
  5. To enable the access logs of the Envoy proxy, follow the guide Envoy Access Logs. In the access logs, you can find the field response_flags. The response flags DC (Downstream client terminated connection) and UC (Upstream terminated connection) are not within the scope of the Istio module team, as they relate to the behavior of the client (DC) or the workload application (UC).

Sidecar Injection

  1. Verify if Istio CR is in the Warning state. If it is, check the warning message. It might be helpful at the beginning of the investigation.
  2. Check if you correctly enabled sidecar injection. See the guide Check If You Have Istio Sidecar Proxy Injection Enabled for more information.
  3. Make sure the Pod does not have hostNetwork: true in the spec. If it does, the sidecar will not be injected.

Still Something Does Not Work?

  1. Check the Official Istio Troubleshooting Guide.
  2. Look for already existing issues in the Istio module repository. If none of them is related to your problem, create a new issue.