Ryan Nazareth

10/26/2022, 3:39 AM
I am trying to run the script in my flytesnacks PR on a flyte demo cluster to check out the flytedeck plot but i am getting an error - seems like the kubernetes pods are not responding ? (see screenshot below) ive created the demo cluster as per the instructions in the docs and exported
environment variable values which were printed out after the cluster was setup. Do i need to login to the kubernetes ui and/or configure anything else ?
ah sorry just seen the error further below - i didn’t add a docker image arg when running the flytecli command - presume thats why it can’t find my libraries

Ketan (kumare3)

10/26/2022, 3:48 AM
thank you for posting back

Ryan Nazareth

10/26/2022, 7:03 PM
Actually, there is another issue now I am trying to start a new cluster pulling this image that i pushed to docker hub registry so based on commands in docs ive run the command below :
flytectl demo start --image <|>
However i am getting an error (ive turned off all vpn and anti-virus in case thats the issue). Is there some port mapping i need to specify anywhere (i don’t see any args for that in docs though). Also, the image is over 3GB - would that be an issue ? @Samhita Alla

Samhita Alla

10/27/2022, 4:10 AM
@Ryan Nazareth, your image should be given to the
pyflyte run
command. I presume your image uses the Dockerfile that’s present in the PR.
flytectl demo start
pyflyte run --remote --image <your-image> <> <workflow_name>