Skip to main content
Version: Next

Terminal Flow Validator

By using validate_flows command before each deployment, you maintain robust, error-free flow configurations, reducing the risk of production disruptions. This essential validation step provides confidence and reliability, ensuring that your API consumption management operates seamlessly.

When you're ready to validate your flows, simply run the following command in your Kubernetes or Docker environment:

kubectl exec <lunar-proxy-pod-name> -- validate_flows

For Docker:

docker exec lunar-proxy validate_flows

This command checks each flow configuration file and performs a "dry run" by loading the flows without enforcing them in live traffic. It will log any configuration issues and confirm when the flows pass validation. Here’s how it works and what you can expect.