常见的istio定位手段

常见的网格定位手段

本文大都参考官方文档和自己定位问题的经验

查看istio-proxy日志

# 指定istio-proxy
kubectl logs podname-xxx  -c istio-proxy

查看istio指标

# curl -sS 'localhost:15000/stats/prometheus' | grep <指标名>
curl -sS 'localhost:15000/stats/prometheus' | grep istio_requests_total

config_dump 导出

# kubecctl exec -it <podname> -c istio-proxy -n <namespace> -- curl localhost:15000/config_dump > name.file
kubecctl exec -it nginx-xxxx -c istio-proxy -n test -- curl localhost:15000/config_dump > config.dump
posted @ 2023-07-07 10:24  周·老师  阅读(4)  评论(0编辑  收藏  举报