| title | description | tags | ||||
|---|---|---|---|---|---|---|
Deploying Custom Plugins: Volume Mounts vs Bundles |
Understand the trade-offs between volume-mounted files and plugin bundles when supplying custom middleware to Tyk Gateway. |
|
Tyk Gateway only runs a custom plugin if the file (JavaScript, Python, gRPC stub, Go .so, etc.) is reachable at the path declared in custom_middleware or middleware.global within your API definition. You therefore need a repeatable way to make that file available inside every Gateway instance—either by shipping it with the container filesystem or by letting the Gateway download it at runtime. This page compares the two supported patterns so you can choose the right fit for your environments.