bumpy-needle-36220
05/29/2024, 6:01 PM> kubectl -n flyte port-forward service/flyte-backend-flyte-binary-grpc 8089:8089 Wed May 29 10:38:33 2024
Forwarding from 127.0.0.1:8089 -> 8089
Forwarding from [::1]:8089 -> 8089
Handling connection for 8089
Handling connection for 8089
E0529 10:38:40.778681 46155 portforward.go:398] error copying from local connection to remote stream: writeto tcp6 [::1]:8089->[::1]:53207: read tcp6 [::1]:8089->[::1]:53207: read: connection reset by peer
Handling connection for 8089
and no executions are registered on the flyte console i have running in my cluster. any advice on how to debug this?average-finland-92144
05/29/2024, 6:03 PMaverage-finland-92144
05/29/2024, 6:04 PMbumpy-needle-36220
05/29/2024, 6:04 PMbumpy-needle-36220
05/29/2024, 6:05 PMkubectl -n flyte port-forward service/flyte-backend-flyte-binary-http 8088:8088
bumpy-needle-36220
05/29/2024, 6:05 PMkubectl -n flyte port-forward service/flyte-backend-flyte-binary-grpc 8089:8089
bumpy-needle-36220
05/29/2024, 6:06 PMkubectl -n flyte port-forward service/flyte-binary 8088:8088 8089:8089
but when i try that i get Error from server (NotFound): services "flyte-binary" not found
otherwise ive deployed flyte using the helm chart exactly as the single cluster instructions in the docs specifybumpy-needle-36220
05/29/2024, 6:07 PMaverage-finland-92144
05/29/2024, 6:07 PMbumpy-needle-36220
05/29/2024, 6:07 PMaverage-finland-92144
05/29/2024, 6:09 PMendpoint
in your local config.yaml
?bumpy-needle-36220
05/29/2024, 6:09 PM> cat ~/.flyte/config.yaml Wed May 29 11:09:27 2024
admin:
# For GRPC endpoints you might want to use dns:///flyte.myexample.com
endpoint: dns:///localhost:8089
insecure: true
authType: Pkce
logger:
show-source: true
level: 0
average-finland-92144
05/29/2024, 6:10 PMdns:///
prefixbumpy-needle-36220
05/29/2024, 6:12 PMvenv > pyflyte run --remote hello_world.py hello_world_wf
and still got
> kubectl -n flyte port-forward service/flyte-backend-flyte-binary-grpc 8089:8089 Wed May 29 11:11:34 2024
Forwarding from 127.0.0.1:8089 -> 8089
Forwarding from [::1]:8089 -> 8089
Handling connection for 8089
E0529 11:11:42.471694 53429 portforward.go:398] error copying from local connection to remote stream: writeto tcp6 [::1]:8089->[::1]:53850: read tcp6 [::1]:8089->[::1]:53850: read: connection reset by peer
bumpy-needle-36220
05/29/2024, 6:13 PMadmin:
# For GRPC endpoints you might want to use dns:///flyte.myexample.com
endpoint: localhost:8089
insecure: true
authType: Pkce
logger:
show-source: true
level: 0
bumpy-needle-36220
05/29/2024, 6:16 PMkubectl -n flyte logs <podname>
i dont see anything in the logs that would suggest flyte even got the requestaverage-finland-92144
05/29/2024, 6:18 PMbumpy-needle-36220
05/29/2024, 6:18 PMbumpy-needle-36220
05/29/2024, 6:18 PMbumpy-needle-36220
05/29/2024, 6:18 PMaverage-finland-92144
05/29/2024, 6:19 PMlogger.level
to 6
?bumpy-needle-36220
05/29/2024, 6:21 PMaverage-finland-92144
05/29/2024, 6:22 PMbumpy-needle-36220
05/29/2024, 6:23 PMbumpy-needle-36220
05/29/2024, 6:23 PMbumpy-needle-36220
05/29/2024, 6:24 PME0529 11:20:37.069807 54098 portforward.go:398] error copying from local connection to remote stream: writeto tcp4 127.0.0.1:8089->127.0.0.1:53927: read tcp4 127.0.0.1:8089->127.0.0.1:53927: read: connection reset by peer
E0529 11:20:37.069966 54098 portforward.go:398] error copying from local connection to remote stream: writeto tcp6 [::1]:8089->[::1]:53926: read tcp6 [::1]:8089->[::1]:53926: read: connection reset by peer
bumpy-needle-36220
05/29/2024, 6:49 PMaverage-finland-92144
05/29/2024, 7:46 PMbumpy-needle-36220
05/29/2024, 8:19 PM> kubectl -n flyte get pods Wed May 29 13:17:02 2024
NAME READY STATUS RESTARTS AGE
debug2 1/1 Running 0 11m
flyte-backend-flyte-binary-578758d8c9-zpnwt 1/1 Running 0 161m
inside this container, i installed python/pip, flytectl, and flytekit. then, i set my .flyte/config.yaml
to this:
(venv) root@debug2:~# cat .flyte/config.yaml
admin:
# For GRPC endpoints you might want to use dns:///flyte.myexample.com
endpoint: flyte-backend-flyte-binary-grpc:8089
insecure: true
logger:
level: 6
show-source: true
still, when i run pyflyte run --remote hello_world.py hello_world_wf
i get Running Execution on Remote
but nothing shows up in the UI consolebumpy-needle-36220
05/29/2024, 8:19 PMaverage-finland-92144
05/29/2024, 8:23 PMflyte-backend.
.. Pod right?bumpy-needle-36220
05/29/2024, 8:25 PMbumpy-needle-36220
05/29/2024, 8:25 PMbumpy-needle-36220
05/30/2024, 12:10 AMaverage-finland-92144
05/30/2024, 4:51 PMbumpy-needle-36220
05/30/2024, 4:58 PMaverage-finland-92144
05/30/2024, 4:59 PM