Hello community, I wanted to know if there is a wa...
# flyte-support
b
Hello community, I wanted to know if there is a way to deploy Flyte on a local server? I tried using sandbox but sandbox is very slow while registering the workflows. So, I wanted to figure out if there is a way to play with Flyte on a local server. without actually starting the sandbox.
t
Hi Akshat! Sandbox shouldn't be slow. Could you let me know the commands you're trying to run?
f
@tall-lock-23197 he means union sandbox. @brief-portugal-24608 Absolutely try the getting started
Everything is local
b
@tall-lock-23197 I am using "flytectl sandbox start" to start the sandbox and "pyflyte register" to register the tasks along with the workflow.
I have two folders, one for tasks and other for workflows.
t
Can you run
flytectl demo start
?
b
Yeah, I tried that, although it is faster than sandbox but still my registration is taking 5 minutes
t
And try pyflyte register thereafter. Also, how many tasks and workflows are you trying to register?
b
I have two tasks and one workflow
Although, using demo the time reduced from 15 minutes to 5 minutes.
t
Oh, then it shouldn't take long. Can you add
FLYTE_SDK_LOGGING_LEVEL=10
env variable to your pyflyte register command (just prepend it), and let me know if you see anything suspicious.
b
Yeah sure.
What does the command do?
*environment variable
t
It prints a detailed log of what's happening.
b
Oh ohkay.
Got it.
I will let you know.
Thank you so much
Does running flyte through poetry causes some issues leading to flyte becoming slow?
t
Shouldn't be the case.
150 Views