Global intercept
Loading...
Global intercepts replace the Kubernetes "Orders" service with the Orders service running on your laptop. The users see no change, but with all the traffic coming to your laptop, you can observe and debug with all your dev tools.
Creating and using global intercepts​
-
Creating the intercept: Intercept your service from your CLI:
telepresence intercept SERVICENAMEinfoMake sure your current kubectl context points to the target cluster. If your service is running in a different namespace than your current active context, use or change the
--namespaceflag. -
Using the intercept: Send requests to your service:
All requests will be sent to the version of your service that is running in the local development environment.