gRPC Traffic Mirroring With Ingress-Nginx on K8s
How to test gRPC service with production data in testing environments, cloning (or "shadowing") traffic via NGINX
gRPC NGINX
gRPC
k8s
In a previous post we saw an NGINX configuration to allow gRPC traffic mirroring.
Is the same technique applicable on Kubernetes? Yes! Using the ingress-nginx ingress controller!
Traffic mirroring Use the following configurations snippets in the ingress-nginx configMap and in the Ingress manifest to mirror all traffic to a separate gRPC server.
ConfigMap Replace grpc-backend.company.net and grpc-mirror.company.net with the original and mirror endpoint, respectively.
http-snippet: | server { listen 127.
[Read More]