Skip to main content

Scheduler

Configuration for the scheduler pod. Allows specifying a custom image and requesting resources for the scheduler pod.

Attributes

  • image: Optional[str] = None

    • Custom image to use. If None, will use the same image the task was registered with. Optional, defaults to None. The image must have dask[distributed] installed and should have the same Python environment as the rest of the cluster (job runner pod + worker pods).
  • resources: Optional[Resources] = None

    • Resources to request for the scheduler pod. Optional, defaults to None.

Constructors

  • Configuration for the scheduler pod

  • Parameters

    • image: Optional[str]
      • Custom image to use. If None, will use the same image the task was registered with. Optional, defaults to None. The image must have dask[distributed] installed and should have the same Python environment as the rest of the cluster (job runner pod + worker pods).
    • resources: Optional[Resources]
      • Resources to request for the scheduler pod. Optional, defaults to None.