feat(gateway): Streaming and cloning plugins#5445
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Adds Kong Gateway 3.15 documentation for two related capabilities—streaming custom plugins (control plane streams plugin code to data planes) and cloning plugins (run multiple instances of the same plugin with different configs/scopes)—by introducing new reference/how-to pages and extending the Plugin entity reference.
Changes:
- Adds a new reference page for streaming custom plugins and links it from the custom plugins reference/hybrid-mode docs.
- Adds two new how-tos: one for streaming custom plugins (via
custom_plugins) and one for cloning a Gateway plugin (viacloned_plugins). - Extends the Plugin entity reference with a new “Cloning plugins” section and adjusts the Konnect quickstart prereq snippet formatting.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| app/custom-plugins/streaming-plugins.md | New reference page describing streaming custom plugin requirements, limitations, and configuration methods. |
| app/custom-plugins/reference.md | Adds a related-resource link to the new streaming reference page. |
| app/custom-plugins/konnect-hybrid-mode.md | Adds a “Streaming plugins” section pointing users to the new reference/how-to. |
| app/_includes/prereqs/products/konnect.md | Reformats the quickstart command snippet (but currently breaks Liquid expansion due to escaping). |
| app/_how-tos/gateway/stream-custom-plugins.md | New how-to demonstrating defining and validating streamed custom plugins using decK. |
| app/_how-tos/gateway/clone-gateway-plugin.md | New how-to demonstrating cloning a plugin and validating behavior across routes. |
| app/_gateway_entities/plugin.md | Adds “Cloning plugins” reference section, supported list, and an example snippet. |
| tools: | ||
| - deck | ||
|
|
||
| prereqs: |
There was a problem hiding this comment.
I wonder if you want to mention custom_plugin_streaming_enabled here
|
Do we want to put the flag [custom_plugin_streaming_enabled] into the "Kong Gateway configuration reference" page |
|
There are a few minor things I are not if we want to mention or not:
|
This will be pulled in automatically from rc.2 - we generate that doc from source. Right now it still has |
|
Considering we generally don't allow deleting or updating streamed plugins and cloned plugins when there are still existing plugin instances that refer to them because it may break the existing plugin instances, prehaps we'd better add a section (similar to this) to guide customers how to upgrade their streamed plugins or update the cloned plugins safely in a running gateway instance. For streamed plugins:
For cloned plugins:
|
Yes, that the case for on-prem. super-admin and admin have full access to |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: lena-larionova <54370747+lena-larionova@users.noreply.github.com>
… will be looking for
7f4ec5f to
06907ba
Compare
|
|
||
| Where: | ||
| * `cloned_plugins.name`: The name of your new plugin. This can be any unique name that doesn't conflict with an existing plugin. | ||
| We recommend making this name distinct so that it doesn't conflict with future plugins (for example, `ACME-request-transformer-global`). |
There was a problem hiding this comment.
Let's not use upper case letters in the example, the name only accepts lowercase letters, numbers, and hyphens. To be more precise, the first character must be a lowercase letter and the last character must not be a hyphen.

Description
References and how-to guides for streaming and cloning plugins.
These were logged as one ticket by product but are actually two separate features that use the same env variable to enable them.
Includes a small fix to the Konnect prereq include to add linebreaks when using env variables.
Fixes #5401
To do: check when rc2 comes out, but the config parameter looks like it's changing to
custom_plugin_streaming_enabled.Preview Links
How-to guides:
https://deploy-preview-5445--kongdeveloper.netlify.app/how-to/clone-gateway-plugin/
https://deploy-preview-5445--kongdeveloper.netlify.app/how-to/stream-custom-plugins/
References:
https://deploy-preview-5445--kongdeveloper.netlify.app/custom-plugins/streaming-plugins/
https://deploy-preview-5445--kongdeveloper.netlify.app/gateway/entities/plugin/#cloning-plugins
https://deploy-preview-5445--kongdeveloper.netlify.app/custom-plugins/konnect-hybrid-mode/#streaming-plugins