- ReferencedResourceNotFound
ReferencedResourceNotFound
| Message Name | ReferencedResourceNotFound |
| Message Code | IST0101 |
| Description | A resource being referenced does not exist. |
| Level | Error |
This message occurs when an Istio resource references another resource that doesnot exist. This will lead to errors when Istio tries to look up the referencedresource but cannot find it.
For example, you receive this error:
Error [IST0101] (VirtualService httpbin.default) Referenced gateway not found: "httpbin-gateway-bogus"
In this example, the VirtualService refers to a gateway that does not exist:
apiVersion: networking.istio.io/v1alpha3kind: Gatewaymetadata:name: httpbin-gatewayspec:selector:istio: ingressgatewayservers:- port:number: 80name: http2protocol: HTTP2hosts:- "*"---apiVersion: networking.istio.io/v1alpha3kind: VirtualServicemetadata:name: httpbinspec:hosts:- "*"gateways:- httpbin-gateway-bogus # Should have been "httpbin-gateway"http:- route:- destination:host: httpbin-gateway
To resolve this problem, look for the resource type in the detailed errormessage, correct your Istio configuration and try again.
