https://prefect.io logo
Title
t

Tolga Karahan

02/16/2023, 7:27 AM
Hi. Does kubernetes block has a configuration to differentiate between GPU and CPU nodes? Assume I want to run my training flows on GPU nodes, so is it configurable via blocks or should we add some taints and tolerations to the deployment yaml built by Prefect?
r

redsquare

02/16/2023, 7:32 AM
taints is the way to go here
t

Tolga Karahan

02/16/2023, 7:55 AM
thanks 🙂, so should we add taints/tolerations to the deployment file generated by Prefect and apply it again?
r

redsquare

02/16/2023, 8:04 AM
Yeah, so youll have two deployments for the flow, one per node type you want to run on
t

Tolga Karahan

02/16/2023, 8:04 AM
exactly, thanks for the support I appreciate
👍 1