Hey, I am receiving this error after running. Also the agent serverless kubernetes cluster is not showing up in the Prefect UI dashboard
@Scott Zelenka and
@Pedro Martins have faced similar issues before linking their previous conversations here
https://prefect-community.slack.com/archives/CL09KU1K7/p1596036675380000 and
https://prefect-community.slack.com/archives/C014Z8DPDSR/p1607966613290400
$ prefect agent kubernetes install -t <MY_TOKEN> --rbac | kubectl apply -f -
Warning Unhealthy kubelet Liveness probe failed :8080/api/health
Logs of the failing pod made to restart by K8s
Warning LoggingDisabled 48m fargate-scheduler Disabled logging because aws-logging configmap was not found. configmap "aws-logging" not found
Normal Scheduled 48m fargate-scheduler Successfully assigned default/prefect-agent-7bcdb4f975-pftnw to fargate-ip-10-0-231-193.ap-southeast-1.compute.internal
Normal Created 43m (x4 over 47m) kubelet Created container agent
Normal Started 43m (x4 over 47m) kubelet Started container agent
Normal Killing 42m (x2 over 45m) kubelet Container agent failed liveness probe, will be restarted
Normal Pulling 41m (x5 over 48m) kubelet Pulling image "prefecthq/prefect:0.14.0-python3.6"
Normal Pulled 41m (x5 over 47m) kubelet Successfully pulled image "prefecthq/prefect:0.14.0-python3.6"
Warning Unhealthy 12m (x13 over 46m) kubelet Liveness probe failed: Get <http://10.0.231.193:8080/api/health>: dial tcp 10.0.231.193:8080: connect: connection refused
Warning BackOff 3m3s (x113 over 43m) kubelet Back-off restarting failed container