Martin Treacy-Schwartz
11/19/2024, 1:01 PMMarvin
11/19/2024, 1:02 PMprefect-kubernetes
package. Here's the Prefect Kubernetes GitHub page for further reading on how to set up and use it.
2. Issues to Consider:
- There have been issues reported with jobs getting stuck in a 'Cancelling' state with certain versions of the prefect-kubernetes
package. For instance, issue #16001 mentions the job remains stuck when attempting cancellation via the UI, particularly in version 0.5.3.
- Pods might get stuck in a 'Running' state instead of transitioning to 'Crashed' upon eviction when using prefect-kubernetes
version 0.4.6, according to issue #15945.
3. Permissions: When running Kubernetes jobs, ensure that the necessary permissions are configured correctly. As noted in issue #8120, documentation for Kubernetes job permissions needs to be clarified, including reading the kube-system
namespace.
Since you might find the details and configurations a bit overwhelming initially, feel free to explore those resources and issues. It’s like the universe of possibilities with Prefect and Kubernetes—endless and sometimes a tad confusing!