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

Durgai Vel

08/14/2023, 3:23 PM
Hi guys, I tried to start the flyte k3s cluster using flytectl sandbox start, but seems like it has some issues on it followed this (https://docs.flyte.org/projects/flytectl/en/latest/gen/flytectl_sandbox.html) docs.
Copy code
$ flytectl sandbox start
72023-08-14T15:09:08.962745682Z Starting k3s cluster...
*2023-08-14T15:19:09.125202229Z Terminated
[2023-08-14T15:19:09.125302892Z Timed out while waiting for the Kubernetes cluster to start
context modified for "flyte-sandbox" and switched over to it.
Error: Get "<https://127.0.0.1:30086/api/v1/nodes>": dial tcp 127.0.0.1:30086: connect: connection refused
{"json":{"src":"main.go:13"},"level":"error","msg":"Get \"<https://127.0.0.1:30086/api/v1/nodes>\": dial tcp 127.0.0.1:30086: connect: connection refused","ts":"2023-08-14T20:49:10+05:30"}
Facing this issue for a long time, and Thanks in advance. :)
d

David Espejo (he/him)

08/14/2023, 4:11 PM
Hi @Durgai Vel sorry for the inconvenience. Probably this section in the docs requires an update Try using
flytectl demo start
d

Durgai Vel

08/15/2023, 7:23 AM
That started the sandbox console in port 30080, but when I tried to register my workflow using
pyflyte register
it goes to port 30081, saying server refused to connect error, since my workflow is not getting registered. Also, Thank you for the response.
d

David Espejo (he/him)

08/15/2023, 2:59 PM
@Durgai Vel what are you using as
endpoint
in your
config.yaml
file? That's the address
pyflyte
uses to connect. You can specify the port
d

Durgai Vel

08/18/2023, 1:45 PM
Copy code
That actually worked, thanks. @David Espejo
13 Views