hey, all. no matter which commands I try my `flyte...
# flyte-support
a
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
a
hi @aloof-garage-47869 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
a
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
a
is this a sandbox environment?
a
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
a
what about
flytectl demo start
a
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
a
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. @high-accountant-32689 is
flytectl sandbox
an option that should still be available for a sandbox deployment?
h
@aloof-garage-47869, we're phasing out
flytectl sandbox
in favor of
flytectl demo
. Can you try that and tell us if you're seeing any issue?
408 Views