分析器消息格式
istioctl analyze
命令以以下格式提供消息
<level> [<code>] (<affected-resource>) <message-details>
<affected-resource>
字段扩展为
<resource-kind> <resource-name>.<resource-namespace>
例如
Error [IST0101] (VirtualService httpbin.default) Referenced gateway not found: "httpbin-gateway-bogus"
<message-details>
字段包含详细说明,其中可能包含更多信息以帮助解决问题。对于集群范围的资源,将省略命名空间后缀,例如 namespace
。