File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
docs/scaling/remote-tasks Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -88,3 +88,27 @@ $ python bigsum.py logs 15/end
88
88
89
89
You can request higher disk space for pods by using the ` disk ` attribute of
90
90
` @kubernetes ` .
91
+
92
+ ## How to list running pods?
93
+
94
+ You can list running tasks with the following command from the directory containing a flow running Metaflow tasks on Kubernetes:
95
+ ``` bash
96
+ python flow.py kubernetes list --help
97
+ ```
98
+
99
+ ** Options**
100
+ - ` --my-runs ` List all my unfinished tasks.
101
+ - ` --user TEXT ` List unfinished tasks for the given user.
102
+ - ` --run-id TEXT ` List unfinished tasks corresponding to the run id.
103
+
104
+ ## How to terminate running pods?
105
+
106
+ You can terminate running tasks with the following command from the directory containing a flow running Metaflow tasks on Kubernetes:
107
+ ``` bash
108
+ python flow.py kubernetes kill --help
109
+ ```
110
+
111
+ ** Options**
112
+ - ` --my-runs ` Kill all my unfinished tasks.
113
+ - ` --user TEXT ` Terminate unfinished tasks for the given user.
114
+ - ` --run-id TEXT ` Terminate unfinished tasks corresponding to the run id.
You can’t perform that action at this time.
0 commit comments