Kevin Schaich
02/08/2023, 5:13 PMflytectl
consistently fails to discover where config lives (~/.flyte/config.yaml
). the only way i've gotten it to work is by supplying --file
arg manually – but I thought that was the point of having a default location:
> flytectl config init
INFO[0000] [0] Couldn't find a config file []. Relying on env vars and pflags.
Init flytectl config file at [/Users/kevinschaich/.flyte/config.yaml]
> flytectl config discover
INFO[0000] [0] Couldn't find a config file []. Relying on env vars and pflags.
just me or has anyone else encountered? did I forget to set an env variable somewhere? I'm on an M1 Mac – Ventura 13.2
, flytectl v0.6.27
David Espejo (he/him)
02/08/2023, 5:49 PMls -ltr $HOME/.flyte/
I have the exact same environment as you, but I'm unable to reproduce the issueKevin Schaich
02/08/2023, 5:50 PM> ls -ltr $HOME/.flyte
total 16
drwxr-xr-x@ 3 kevinschaich staff 96 Feb 8 12:25 state
-rw-r--r--@ 1 kevinschaich staff 189 Feb 8 12:26 config.yaml
drwxr-xr-x@ 3 kevinschaich staff 96 Feb 8 12:26 k3s
-rw-r--r--@ 1 kevinschaich staff 223 Feb 8 12:26 config-sandbox.yaml
drwxr-xr-x@ 3 kevinschaich staff 96 Feb 8 12:27 node
David Espejo (he/him)
02/08/2023, 5:52 PMKevin Schaich
02/08/2023, 5:53 PMflytectl config init
and then flytectl sandbox start
with default args, although sandbox start
also fails to find the default locationDavid Espejo (he/him)
02/08/2023, 5:55 PMflytectl demo start
Kevin Schaich
02/08/2023, 5:55 PMrequirements.txt
David Espejo (he/him)
02/08/2023, 6:01 PMflytectl sandbox
an option that should still be available for a sandbox deployment?Eduardo Apolinario (eapolinario)
02/08/2023, 11:30 PMflytectl sandbox
in favor of flytectl demo
. Can you try that and tell us if you're seeing any issue?