Policies · Mesh* policies

MeshFaultInjection

HTTP delays, aborts and bandwidth limits on a proxy's inbound traffic.

Kuma

Behaviour per target

--to-latest v2 (2.x) warned

Output: MeshFaultInjection

Copied unchanged. from[] is reported as deprecated in favour of rules[] and is not converted: rules[].matches[] selects clients by SPIFFE ID or SNI. Omitting matches[] applies the fault to all clients. from[].targetRef.kind: MeshService is reported as deprecated since 2.7. A Subset-scenario policy keeps from[] MeshSubset with the kuma.io/service tag (the 2.7+ form) instead of rewriting it to MeshService.

--to-latest v3 (3.0) rewritten

Output: MeshFaultInjection

When every from[] entry targets kind: Mesh, from[] is rewritten to rules[] without matches[], which keeps the "every client" scope. Any narrower entry blocks the rewrite: the policy is reported as an error and written to _manual/, not to the apply tree.

to[] accepts only kind: Mesh, and only when spec.targetRef is kind: Mesh; other combinations are reported as an error and written to _manual/. Labels-only refs and control-plane label removal apply.

Timeline

VersionChange
2.7from[].targetRef.kind: MeshService deprecated; use MeshSubset with the kuma.io/service tag.
2.13rules[] API added.
2.14from[] deprecated.
3.0from removed. to[] accepts kind: Mesh only.

Source files