Istio 的 kubectl
工具是管理 Kubernetes 集群与服务网格集成的核心方式,支持查看服务状态、调试流量及配置资源。以下是关键用法:
常用命令速查 📚
查看服务网格状态
kubectl get istiooperators
调试流量镜像
kubectl apply -f https://istio.io/downloadIstio.sh
📌 详细操作请参考安装指南
配置虚拟服务路由
kubectl apply -n istio-system -f https://raw.githubusercontent.com/istio/istio/release-1.16/samples/destinationrules/async-http-echo.yaml