a

    Adi Gandra

    7 months ago
    Hey, i’m wondering for
    prefect agent kubernetes install
    what are the default mem and cpu limits? I have my tasks running on kubernetes spun up on EKS, and setup the agent using that command. However, the task is a download FTP file and it just stalls. No progress for hours. I’m wondering if this could be a possible mem and cpu limit, and if I should basically run the install command again - and will that overwrite my old manifest?
    Kevin Kho

    Kevin Kho

    7 months ago
    I think there is no limit specified so if you have a cluster, the pod wouldn’t be limited. But on EKS, I think the limit here will come from the hardware Fargate spins up if you use Fargate to back EKS.
    a

    Adi Gandra

    7 months ago
    So I finally got this working, everything was running great. One task finished and then onto the next. It was running for 10 minutes and then all of the sudden I got
    No heartbeat detected from the remote task; marking the run as failed.
    No other failure message. Any idea’s on why this would happen?
    This was the only other thing
    Pod prefect-job-d4764252-d9nt9 failed.
    	Container 'flow' state: terminated
    		Exit Code:: 137
    		Reason: OOMKilled
    Kevin Kho

    Kevin Kho

    7 months ago
    That is saying your container is running out of memory. It crashes and loses connection with Prefect. Prefect doesn’t receive the heartbeat from the Flow, so it assumes the Flow has died.