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

Mina Fahimi

01/26/2023, 6:37 AM
Hello everyone šŸ™‚ I am quite new in flyte and to this channel. I am also a windows user. and I have couple of questions: ā€¢ My first question is about flytectl. anyway to install flytectl on windows? ā€¢ Second question is about pyflyte. I have a remote flyte server and I made a flyte_cluster_config.yaml file that I set the IP of the flyte server. Then I use the pyflyte to run my flyte wf on the cluster with following command:
pyflyte -c flyte_cluster_config.yml run --remote .\workflows\example.py wf --name minaexample
but I get the following error
Copy code
status = StatusCode.UNIMPLEMENTED
        details = ""
        debug_error_string = "UNKNOWN:Error received from peer ipv4:10.32.16.101:80 {created_time:"2023-01-26T06:45:08.745870339+00:00", grpc_status:12, grpc_message:""}"
any ideas what could be a problem?
d

David Espejo (he/him)

01/26/2023, 4:50 PM
Hi @Mina Fahimi and welcome to the Flyte community 1. flytectl Installation instructions for OSes other than OSX are covered here Basically, a one liner using
curl
, which is typically preinstalled with Windows 10 or newer I'll get back to you for #2 in a bit
s

Samhita Alla

01/27/2023, 5:31 AM
Regarding #2, could you send the config you're using in your
flyte_cluster_config.yaml
file?
d

David Espejo (he/him)

01/27/2023, 5:34 PM
Hi @Mina Fahimi Just to continue the follow up from DMs, here the suggested approach for your two issues: 1. I was able to reproduce this on a Windows 10 VM using WSL2, so I'll be filing a new [flyte-ctl] issue describing likely a bug in the
curl
script. Meanwhile, you could download and install directly from https://github.com/flyteorg/flytectl/releases/download/v0.6.4/flytectl_Windows_x86_64.zip 2. Considering your config file, the endpoint seems to be pointing to a different port.
Copy code
admin:
  # For GRPC endpoints you might want to use dns:///flyte.myexample.com
  endpoint: dns:///flyte.10.32.16.101.nip.io:80
  authType: Pkce
  insecure: true
logger:
  show-source: true
  level: 0
According to docs, it should be 30081 Please let us know if any of this is helpful for you
d

David Espejo (he/him)

01/27/2023, 5:46 PM
Issue -> #3290
m

Mina Fahimi

01/30/2023, 8:55 AM
@David Espejo (he/him) Thanks for the help, I will come back to you soon today and let you if I could resolve the problem