From db4e71372c15e98daee58bf8e444e7a66d0661ee Mon Sep 17 00:00:00 2001 From: Istio Automation Date: Thu, 5 Mar 2020 12:43:31 -0800 Subject: [PATCH] Expected output includes error message if pod outside mesh (#6748) Co-authored-by: esnible --- content/en/docs/ops/diagnostic-tools/istioctl-describe/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/en/docs/ops/diagnostic-tools/istioctl-describe/index.md b/content/en/docs/ops/diagnostic-tools/istioctl-describe/index.md index 4e655c81a8..c8678d81e7 100644 --- a/content/en/docs/ops/diagnostic-tools/istioctl-describe/index.md +++ b/content/en/docs/ops/diagnostic-tools/istioctl-describe/index.md @@ -49,6 +49,8 @@ pod is not part of the service mesh because it has no sidecar: $ export DASHBOARD_POD=$(kubectl -n kube-system get pod -l k8s-app=kubernetes-dashboard -o jsonpath='{.items[0].metadata.name}') $ istioctl x describe pod -n kube-system $DASHBOARD_POD WARNING: kubernetes-dashboard-7996b848f4-nbns2.kube-system is not part of mesh; no Istio sidecar +-------------------- +Error: failed to execute command on sidecar: error execing into kubernetes-dashboard-7996b848f4-nbns2/kube-system istio-proxy container: container istio-proxy is not valid for pod kubernetes-dashboard-7996b848f4-nbns2 {{< /text >}} The command will not produce such a warning for a pod that is part of the mesh,