hey, all. no matter which commands I try my `flyte...
# ask-the-community
k
hey, all. no matter which commands I try my
flytectl
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:
Copy code
> 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
d
hi @Kevin Schaich Sorry for my naive approach. Could you share the output of
ls -ltr $HOME/.flyte/
I have the exact same environment as you, but I'm unable to reproduce the issue
k
Copy code
> 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
d
is this a sandbox environment?
k
Yep. I just did
flytectl config init
and then
flytectl sandbox start
with default args, although
sandbox start
also fails to find the default location
d
what about
flytectl demo start
k
that works, but my understanding was that that's a super minimal env where you probably don't even need a config file
i went through the tutorial now and I'm trying to get my sandbox setup so I can use custom python dependencies in my
requirements.txt
d
sandbox is indeed a minimalist deployment (single Docker container) with all Flyte's dependencies included. In the deployment guide, sandbox is invoked using the `demo`option. @Eduardo Apolinario (eapolinario) is
flytectl sandbox
an option that should still be available for a sandbox deployment?
e
@Kevin Schaich, we're phasing out
flytectl sandbox
in favor of
flytectl demo
. Can you try that and tell us if you're seeing any issue?
326 Views