- SchemaValidationError
SchemaValidationError
| Message Name | SchemaValidationError |
| Message Code | IST0106 |
| Description | The resource has a schema validation error. |
| Level | Error |
This message occurs when your Istio configuration does not successfully passschema validation.
For example, you receive this error:
Error [IST0106] (VirtualService ratings-bogus-weight-default.default) Schema validation error: percentage 888 is not in range 0..100
and your Istio configuration contains these values:
apiVersion: networking.istio.io/v1alpha3kind: VirtualServicemetadata:name: ratings-bogus-weight-defaultnamespace: defaultspec:hosts:- ratingshttp:- route:- destination:host: ratingssubset: v1weight: 999- destination:host: ratingssubset: v2weight: 888
In this example, the error message indicates that the weight element has aninvalid value when checked against the schema.
To resolve this problem, refer to themessage details field to determinewhich element or value does not adhere to the schema, correct the error and tryagain.
For details about the expected schema for Istio resources, see theconfiguration reference.
