Skip to content

Commit

Permalink
Improve retire_worker fallback by using deployments instead of pods (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RossmacD authored Oct 25, 2024
1 parent d4d4112 commit 46350db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask_kubernetes/operator/controller/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ async def retire_workers(
"This can result in lost data, see https://kubernetes.dask.org/en/latest/operator_troubleshooting.html."
)
workers = await kr8s.asyncio.get(
"pods",
"deployments",
namespace=namespace,
label_selector={"dask.org/workergroup-name": worker_group_name},
)
Expand Down

0 comments on commit 46350db

Please sign in to comment.