flytekitplugins.dask.Scheduler#
- class flytekitplugins.dask.Scheduler(image=None, requests=None, limits=None)#
Configuration for the scheduler pod
- Parameters:
image (str | None) – Custom image to use. If
None, will use the same image the task was registered with. Optional, defaults toNone. The image must havedask[distributed]installed and should have the same Python environment as the rest of the cluster (job runner pod + worker pods).requests (Resources | None) – Resources to request for the scheduler pod. If
None, the requests passed into the task will be used. Optional, defaults toNone.limits (Resources | None) – Resource limits for the scheduler pod. If
None, the limits passed into the task will be used. Optional, defaults toNone.
Methods
Attributes