Skip to content

Commit 6243506

Browse files
Nadine-Hr4victor
andauthored
Apply doc suggestions from code review
Co-authored-by: Victor Skvortsov <vds003@gmail.com>
1 parent e757a77 commit 6243506

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

docs/docs/guides/plugins.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,13 @@ class ExamplePolicy(ApplyPolicy):
116116
## Built-in Plugins
117117

118118
### REST Plugin
119-
If you'd like to apply custom policies within your organization, you can set up your own plugin API server and integrate it with `dstack` via the `rest-plugin`. To get started, check out the [plugijn server example](/examples/plugins/example_plugin_server/README.md).
119+
`rest_plugin` is a builtin `dstack` plugin that allows writing your custom plugins as API servers, so you don't need to install plugins as Python packages.
120+
121+
Plugins implemented as API servers have advantages over plugins implemented as Python packages in some cases:
122+
* No dependency conflicts with `dstack`.
123+
* You can use any programming language.
124+
* If you run the `dstack` server via Docker, you don't need to extend the `dstack` server image with plugins or map them via volumes.
125+
126+
To get started, check out the [plugin server example](/examples/plugins/example_plugin_server/README.md).
120127

121128
For more information on the plugin development, see the [plugin example](https://github.com/dstackai/dstack/tree/master/examples/plugins/example_plugin).

examples/plugins/example_plugin_server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Overview
22

3-
If you wish to hook up your own plugin server through `dstack` builtin ` rest-plugin`, here's a basic example on how to do so.
3+
If you wish to hook up your own plugin server through `dstack` builtin `rest_plugin`, here's a basic example on how to do so.
44

55
## Steps
66

0 commit comments

Comments
 (0)