@@ -11,123 +11,91 @@ runpodctl create pods [flags]
1111
1212## Example
1313
14- Create 3 identical Pods for distributed training in the Secure Cloud:
14+ Create 3 identical Pods with the name " training-worker" in the Secure Cloud:
1515
1616``` sh
17- runpodctl create pods --name " training-worker" --podCount 3 --gpuType " A100 80GB" --gpuCount 1 --secureCloud --imageName " runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel"
17+ runpodctl create pods
18+ --name " training-worker" \
19+ --podCount 3 \
20+ --gpuType " A100 80GB" \
21+ --gpuCount 1 \
22+ --secureCloud \
23+ --imageName " runpod/pytorch:2.0.1-py3.10-cuda11.8.0-devel"
1824```
1925
2026## Flags
2127
22- The following flags are available for the ` create pods ` command:
23-
24- ---
25-
26- ` --name <value> ` • ` string `
27-
28+ <ResponseField name = " --name" type = " string" >
2829A custom name for the Pods. All Pods in the group will share this base name.
30+ </ResponseField >
2931
30- ---
31-
32- ` --podCount <number> ` • ` integer ` • default = ` 1 `
33-
32+ <ResponseField name = " --podCount" type = " integer" default = { 1 } >
3433The number of Pods to create.
34+ </ResponseField >
3535
36- ---
37-
38- ` --gpuType <value> ` • ` string `
39-
36+ <ResponseField name = " --gpuType" type = " string" >
4037The GPU type to use for the Pods (e.g., ` RTX 4090 ` , ` A100 80GB ` , ` H100 SXM ` ).
38+ </ResponseField >
4139
42- ---
43-
44- ` --gpuCount <number> ` • ` integer ` • default = ` 1 `
45-
40+ <ResponseField name = " --gpuCount" type = " integer" default = { 1 } >
4641The number of GPUs to allocate to each Pod.
42+ </ResponseField >
4743
48- ---
49-
50- ` --secureCloud `
51-
44+ <ResponseField name = " --secureCloud" >
5245Create the Pods in the Secure Cloud tier, which offers enterprise-grade infrastructure with enhanced reliability.
46+ </ResponseField >
5347
54- ---
55-
56- ` --communityCloud `
57-
48+ <ResponseField name = " --communityCloud" >
5849Create the Pods in the Community Cloud tier, which typically offers lower pricing with spot instance availability.
50+ </ResponseField >
5951
60- ---
61-
62- ` --imageName <value> ` • ` string `
63-
52+ <ResponseField name = " --imageName" type = " string" >
6453The Docker container image to use for the Pods (e.g., ` runpod/pytorch:latest ` ).
54+ </ResponseField >
6555
66- ---
67-
68- ` --templateId <value> ` • ` string `
69-
56+ <ResponseField name = " --templateId" type = " string" >
7057The ID of a template to use for Pod configuration, which pre-defines the image and environment settings.
58+ </ResponseField >
7159
72- ---
73-
74- ` --containerDiskSize <number> ` • ` integer ` • default = ` 20 `
75-
60+ <ResponseField name = " --containerDiskSize" type = " integer" default = { 20 } >
7661The size of the container disk in gigabytes for each Pod.
62+ </ResponseField >
7763
78- ---
79-
80- ` --volumeSize <number> ` • ` integer ` • default = ` 1 `
81-
64+ <ResponseField name = " --volumeSize" type = " integer" default = { 1 } >
8265The size of the persistent volume in gigabytes for each Pod.
66+ </ResponseField >
8367
84- ---
85-
86- ` --volumePath <value> ` • ` string ` • default = ` /workspace `
87-
68+ <ResponseField name = " --volumePath" type = " string" default = " /workspace" >
8869The mount path for the persistent volume inside each container.
70+ </ResponseField >
8971
90- ---
91-
92- ` --networkVolumeId <value> ` • ` string `
93-
72+ <ResponseField name = " --networkVolumeId" type = " string" >
9473The ID of an existing network volume to attach to all Pods for shared storage.
74+ </ResponseField >
9575
96- ---
97-
98- ` --cost <number> ` • ` float `
99-
76+ <ResponseField name = " --cost" type = " float" >
10077The maximum price ceiling in dollars per hour. If not specified, Pods will be created at the lowest available price.
78+ </ResponseField >
10179
102- ---
103-
104- ` --mem <number> ` • ` integer ` • default = ` 20 `
105-
80+ <ResponseField name = " --mem" type = " integer" default = { 20 } >
10681The minimum system memory required in gigabytes for each Pod.
82+ </ResponseField >
10783
108- ---
109-
110- ` --vcpu <number> ` • ` integer ` • default = ` 1 `
111-
84+ <ResponseField name = " --vcpu" type = " integer" default = { 1 } >
11285The minimum number of vCPUs required for each Pod.
86+ </ResponseField >
11387
114- ---
115-
116- ` --env <value> ` • ` string `
117-
88+ <ResponseField name = " --env" type = " string" >
11889Environment variables to set in the containers. Specify multiple times for multiple variables.
90+ </ResponseField >
11991
120- ---
121-
122- ` --args <value> ` • ` string `
123-
92+ <ResponseField name = " --args" type = " string" >
12493Additional arguments to pass to the containers when they start.
94+ </ResponseField >
12595
126- ---
127-
128- ` --ports <value> ` • ` string `
129-
96+ <ResponseField name = " --ports" type = " string" >
13097Ports to expose from the containers. Maximum of 1 HTTP port and 1 TCP port allowed per Pod.
98+ </ResponseField >
13199
132100## Related commands
133101
0 commit comments