Control traffic with policies

Use Gloo policies to control the traffic within your service mesh environment. Review the following available policies or learn more about Policy enforcement.

Resilience policies

Failover

Use a failover policy to determine where to reroute traffic in case of failure.

Fault injection

Test the resilience of your apps by injecting delays and connection failures.

Outlier detection

Configure Gloo to remove unhealthy destinations from the connection pool, and add the destinations back when they become healthy again.

Retry

Reduce transient failures and hanging systems by setting retries and timeouts.

Timeout

Reduce transient failures and hanging systems by setting retries and timeouts.

TCP connection

Set up connection pool settings such as keepalive for TCP protocols.

Security policies

Access

Control access for workloads in your service mesh.

CORS

Enforce client-site access controls with cross-origin resource sharing (CORS).

External auth

Set up an external authentication and authorization to protect the workloads in your cluster. For example, you can set up basic, passthrough, API key, OAuth, OPA, or LDAP authentication.

Traffic control policies

Header manipulation

Append or remove HTTP request and response headers at the route level.

Mirror

Duplicate outgoing traffic, to test a new app.

Rate limit

Control the rate of requests to destinations within the service mesh.

Extensions

WebAssembly (Wasm) deployment

Add a Wasm filter to the Envoy sidecar proxy, for use cases such as customizing the endpoints and thresholds for your workloads.

Observability policies

Access log

Configure how access logs are recorded for your services.

Gloo Gateway ingress policies

You can use the following policies to control traffic through the ingress gateway in north-south scenarios.

To use this feature, you must have a Gloo Gateway license in addition to your Gloo Mesh license.

CSRF

Apply a CSRF filter to the gateway to help prevent cross-site request forgery attacks.

JWT

Control access or route traffic based on verified claims in a JSON web token (JWT).

Transformation

Alter a request before matching and routing, such as with an Inja header template.

WAF

Filter, monitor, and block potentially harmful HTTP traffic with a Web Application Firewall (WAF) policy.