Hey folks, we are trying to move our task execution from ECS to EKS but running into this error as the agent tries to roll out pods for the job:
Copy code
TypeError: '<' not supported between instances of 'NoneType' and 'datetime.datetime'
[2021-05-17 23:14:44,507] ERROR - agent | Error while managing existing k8s jobs
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/prefect/agent/kubernetes/agent.py", line 383, in heartbeat
self.manage_jobs()
File "/usr/local/lib/python3.7/site-packages/prefect/agent/kubernetes/agent.py", line 236, in manage_jobs
pod_name
TypeError: '<' not supported between instances of 'NoneType' and 'datetime.datetime'
we’re using the config generated from the prefect cli for kubernetes agent. Any idea on how to work resolve it?
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.