Skip to content

Commit 46350db

Browse files
authored
Improve retire_worker fallback by using deployments instead of pods (#912)
1 parent d4d4112 commit 46350db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dask_kubernetes/operator/controller/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ async def retire_workers(
488488
"This can result in lost data, see https://kubernetes.dask.org/en/latest/operator_troubleshooting.html."
489489
)
490490
workers = await kr8s.asyncio.get(
491-
"pods",
491+
"deployments",
492492
namespace=namespace,
493493
label_selector={"dask.org/workergroup-name": worker_group_name},
494494
)

0 commit comments

Comments
 (0)