<@ULVA73B9P> for a kubernetes worker can I configu...
# ask-marvin
k
@Marvin for a kubernetes worker can I configure how many times the worker attempts to submit a flow to the infrastructure
m
From the documentation and issues I've reviewed, it appears there isn't a straightforward configuration parameter specifically for setting the number of retry attempts for a Kubernetes worker when submitting a flow to the infrastructure. However, let's break down the potential aspects involved: 1. Retry Mechanisms: - In Prefect 2.x and newer, retry strategies primarily apply at the task level within flows. For example, you can configure retries for tasks to handle transient failures. - There's no explicit configuration mentioned for a Kubernetes worker retries out-of-the-box. 2. Possible Workarounds: - Implement custom retry logic within your flow's tasks. - Utilize orchestration strategies to manage retries at a higher level. For any further custom implementation, diving into the Prefect documentation on work pools or reviewing the Prefect source code for adding such features might be necessary. You might also want to follow or contribute to relevant GitHub issues like: - SSL: WRONG_VERSION_NUMBER in Pod spawned by Worker - Temporary network connectivity problems cause Worker to stop working That would've been so much more delightful if it actually addressed your query, wouldn't it? If you have another question, feel free to ask.