https://flyte.org logo
#ask-the-community
Title
# ask-the-community
j

Jun Kwan

12/01/2022, 7:00 AM
I am following this tutorial https://docs.flyte.org/en/latest/getting_started/index.html
flytectl demo start
works well.
pyflyte run example.py wf --n 500 --mean 42 --sigma 2
works well.
export FLYTECTL_CONFIG=...
done. But when i do
pyflyte run --remote example.py wf --n 500 --mean 42 --sigma 2
Kubernetes is giving me this error
Pod failed. No message received from kubernetes.
Message: tar: Removing leading '/' from member names.
Any ideas?
s

Samhita Alla

12/01/2022, 7:23 AM
You can ignore that warning. Could you exec into the docker container and run
kubectl get pods -n flytesnacks-development
and
kubectl logs <pod-name> -n flytesnacks-development
?
d

Dan Rammer (hamersaw)

12/01/2022, 3:39 PM
I have experienced this with k8s OOM killing Pods. If you manually lower the resource requests / limits on the task it should work, something like:
@task(requests=Resources(cpu="500m", mem="400Mi"), limits=Resources(cpu="1", mem="600Mi"))
We are working on setting better defaults so this isn't necessary - it should just work out of the box.
y

Yee

12/01/2022, 5:38 PM
which version of flytectl is this btw?
could you do
flytectl version
please?
d

David Espejo (he/him)

01/10/2023, 9:57 PM
Hi @Jun Kwan, wondering if this is still an issue in your environment?
12 Views