I am trying to run flyte locally I ran: ``` make ...
# contribute
a
I am trying to run flyte locally I ran:
Copy code
make setup_local_dev
Then i ran:
Copy code
flyte start --config flyte-single-binary-local.yaml
But then i am getting an error:
Copy code
panic: failed to connect to `host=127.0.0.1 user=postgres database=flyte`: dial error (dial tcp 127.0.0.1:30001: connect: connection refused)
k
you need to run a dev cluster locally instead.
Copy code
flytectl demo start --dev
flyte start --config ...
a
hmm ok. with
make setup_local_dev
I can see postgres, minio, and flyte-kubernetes-dashboard running in kubectl though
Copy code
kubectl get pod -n flyte
NAME                                          READY   STATUS    RESTARTS   AGE
flyte-kubernetes-dashboard-7fd989b99d-jcm5w   1/1     Running   0          27m
minio-699ccf97f9-mctfr                        1/1     Running   0          27m
postgres-76c5456bdf-2rszg                     1/1     Running   0          27m
what is the purpose of setup_local_dev?
the make command
k
I haven’t used that command.
a
have you done dev work on or contributed to flyteadmin?
k
yes