I was following <FTHW> to install Flyte Core on a ...
# flyte-deployment
c
I was following FTHW to install Flyte Core on a local K8s cluster ("docker desktop"'s k8s) I installed the dependencies and then Flyte core itself and didn't change anything in the manifests as all credentials seems ok. The installation was successful. But things don't work as expected. 1. Flyte console is accessible (via port forwarding) but no projects are visible. The projects page is empty.
flytectl
however does show the relevant projects. Even after creating a new projects, still it's not visible in the console. 2. I created the "hello_world.py" workflow and used
pyflyte run --remote...
to execute it. Even though I could not see the execution in Flyte UI, I got the logs from K8s and it says:
Copy code
FlyteAssertion: Failed to get data from                                                                                <s3://flyte/flytesnacks/development/OVFAYFJZPX4FHKHLXIMPA3GPEU======/script_mode>.                                       tar.gz to ./ (recursive=False).                                                                                                                                                                                                               Original exception: Unable to locate credentials
Flyte did not create the pod with the relevant AWS environment variables.
It seems like the values file might be wrong... the "plugins" section should be nested under configmap maybe?
a
the "plugins" section should be nested under configmap maybe?
that is correct, sorry about that
let me fix
c
actually should be nested under
configmap/k8s/plugins/k8s
However, the Flyte Console thing still doesn't work...
I redployed and restarted the console pod but no dice
👀 1
and thank you @average-finland-92144 for creating this! super helpful and straightforward
let me know if you need any logs or configs
gratitude thank you 1
a
I'll reproduce the issue to isolate it better
c
Great thanks! I used "docker desktop" k8s feature on MacOS. I haven't tried on actual cloud or using your suggested k8s on VM.
a
I'm also getting the blank flyteconsole page (no projects) so I'm still investigating
c
hey @average-finland-92144! thanks for you looking into it. Any news?
a
not yet Guy, I found this old Issue and I believe this has to do with the port-forwarding. But I'll rule that out adding Ingress and see if it works
c
I see Yeah, I managed to have the console a different address but now it's being blocked due to CORS even though the rule "*" so it's a little unclear to me