Hi guys, I tried to start the flyte k3s cluster us...
# ask-the-community
d
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
Hi @Durgai Vel sorry for the inconvenience. Probably this section in the docs requires an update Try using
flytectl demo start
d
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
@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
Copy code
That actually worked, thanks. @David Espejo