diff --git a/get-started/mcp-servers.mdx b/get-started/mcp-servers.mdx index ab38c90e3..2c0c52d37 100644 --- a/get-started/mcp-servers.mdx +++ b/get-started/mcp-servers.mdx @@ -179,6 +179,20 @@ Create a new Runpod Pod with the following specifications: - Cloud Type: SECURE ``` +To attach an existing [network volume](/storage/network-volumes) at Pod creation, include its ID and mount path. The MCP server forwards these to the REST API's `networkVolumeId` and `volumeMountPath` fields on [`POST /pods`](/api-reference/pods/POST/pods): + +``` +Create a new Runpod Pod with the following specifications: +- Name: ml-training-pod +- Image: runpod/pytorch:2.1.0-py3.10-cuda11.8.0-devel-ubuntu22.04 +- GPU Type: NVIDIA GeForce RTX 4090 +- GPU Count: 1 +- Network Volume ID: vol_abc123 +- Volume Mount Path: /workspace +``` + +The network volume's data center constrains where the Pod can run, so pick a GPU type that is available in the volume's region. + ``` Create a Runpod Serverless endpoint with the following configuration: - Name: image-generation-endpoint diff --git a/pods/manage-pods.mdx b/pods/manage-pods.mdx index 626ade90c..9c88873e4 100644 --- a/pods/manage-pods.mdx +++ b/pods/manage-pods.mdx @@ -107,6 +107,10 @@ You'll still be charged for [volume disk storage](/pods/storage/types#volume-dis When using a [network volume](/storage/network-volumes), your `/workspace` data is preserved whether you stop or terminate the Pod. + +Linux commands like `shutdown`, `poweroff`, and `halt` do not stop a Pod. Pods run as containers, not VMs, so these commands only affect the container's init process. The container may restart instead of stopping. To stop a Pod from inside itself, use `runpodctl pod stop $RUNPOD_POD_ID` from the CLI tab below, or call the REST API. + +