-
Notifications
You must be signed in to change notification settings - Fork 32
docs: Update Flash docs for .runpod to .flash directory migration #592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2567dbd
21931ca
4dc153d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -103,7 +103,7 @@ flash run --auto-provision | |
| 1. **Discovery**: Scans your app for `@Endpoint` decorated functions. | ||
| 2. **Deployment**: Deploys resources concurrently (up to 3 at a time). | ||
| 3. **Confirmation**: Asks for confirmation if deploying more than 5 endpoints. | ||
| 4. **Caching**: Stores deployed resources in `.runpod/resources.pkl` for reuse. | ||
| 4. **Caching**: Stores deployed resources in `.flash/resources.pkl` for reuse. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Citation: PR #221 migrates |
||
| 5. **Updates**: Recognizes existing endpoints and updates if configuration changed. | ||
|
|
||
| ### Benefits | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -104,7 +104,7 @@ Remove inactive endpoints from tracking without API deletion: | |
| flash undeploy --cleanup-stale | ||
| ``` | ||
|
|
||
| Use this when endpoints were deleted via the Runpod console or API (not through Flash). The local tracking file (`.runpod/resources.pkl`) becomes stale, and this command cleans it up. | ||
| Use this when endpoints were deleted via the Runpod console or API (not through Flash). The local tracking file (`.flash/resources.pkl`) becomes stale, and this command cleans it up. | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Citation: PR #221 consolidates all local state under |
||
|
|
||
| ## Flags | ||
|
|
||
|
|
@@ -137,7 +137,7 @@ For production deployments, use `flash env delete` to remove entire environments | |
|
|
||
| ## How tracking works | ||
|
|
||
| Flash tracks deployed endpoints in `.runpod/resources.pkl`. Endpoints are added when you: | ||
| Flash tracks deployed endpoints in `.flash/resources.pkl`. Endpoints are added when you: | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Citation: Based on changes in |
||
|
|
||
| - Run `flash run --auto-provision` | ||
| - Run `flash run` and call `@Endpoint` functions | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Citation: PR #221 changes the resource caching directory from
.runpod/to.flash/as documented in the PR's internalflash-run.mdfile.View source