@Nate is it possible turn a schedule active/inactive via prefect.yaml?
n
Nate
04/06/2026, 3:07 PM
hi @Thang Le - coming back from vacation here
yes! each schedule object has an
active
bool field
t
Thang Le
04/06/2026, 8:28 PM
No worries! Is it also possible to use PEX within Prefect? Klaviyo's whole playgorund system revolves around PEX within S3 for quick exec, was wondering if this is something that can be done
but generally non-standard setup related to deps in prefect can happen in
pull
steps, overridden
command
job variables, or your Dockerfile
t
Thang Le
04/06/2026, 9:27 PM
yeah that's what we're trying to do our overall plan is to:
• create a kubernetes workpool
• create a pex file with only dependencies (this should not be updated frequently) in s3 bukcet
• create another pex file with only the pex code (this gets upload/updated every time there's a code change) in s3 bucket
• create a deployment system that pulls both pex files from s3 and exec it
Thang Le
04/06/2026, 9:30 PM
we want our code to run in kubernetes but for it to live in either an ECR as a docker or as EC2 with S3
n
Nate
04/07/2026, 1:39 PM
seems reasonable (though again i don't have many priors around PEX)! let us know if you have prefect-related issues, or if it ends up working for you and you want to contribute an example
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.