Hi there, if one wanted to temporarily disable the ability for flyte to run new executions (scheduled or manual) via configuration on a deployment, is there a way to accomplish that?
f
freezing-airport-6809
03/10/2023, 4:38 PM
You can pause schedules
t
thankful-dress-89577
03/10/2023, 5:00 PM
As in one at a time or is there a global pause configuration option?
t
thankful-minister-83577
03/10/2023, 7:50 PM
scheduled and manual are pretty different. for scheduled it depends on which scheduler you’re using. previous sample deployments of flyte used sns/sqs. now flyte has its own scheduler pod, which you can disable. if running as a single binary, you can disable through an arg (though I’m not sure this is exposed through the helm configuration so you may need to
inline
it). for manual ones… no not really, short of taking down the server or something. you can hack it by like temporarily removing the CRD or something, which will just cause things to error.
t
thankful-dress-89577
03/10/2023, 8:09 PM
If we are using flyte scheduler pod, when you say we can disable it, do you mean scaling down the deployment to 0?