<#3645 [BUG] No kubeconfig for flytectl demo clust...
# flyte-github
a
#3645 [BUG] No kubeconfig for flytectl demo cluster Issue created by tekumara Describe the bug
Copy code
āÆ flytectl demo start 
INFO[0000] [0] Couldn't find a config file []. Relying on env vars and pflags. 
W0507 10:37:51.431316   66838 loader.go:221] Config not found: /home/compute/.flyte/k3s/k3s.yaml
šŸ§‘ā€šŸ­ Bootstrapping a brand new flyte cluster... šŸ”Ø šŸ”§
šŸ‹ Going to use Flyte v1.5.0 release with image <http://cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-bc521dac6f0dc6e1942efa6447611cd3354540c4|cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-bc521dac6f0dc6e1942efa6447611cd3354540c4> 
šŸ‹ pulling docker image for release <http://cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-bc521dac6f0dc6e1942efa6447611cd3354540c4|cr.flyte.org/flyteorg/flyte-sandbox-bundled:sha-bc521dac6f0dc6e1942efa6447611cd3354540c4>
šŸ§‘ā€šŸ­ booting Flyte-sandbox container
Waiting for cluster to come up...
Waiting for cluster to come up...
Waiting for cluster to come up...
Waiting for cluster to come up...
Waiting for cluster to come up...
Waiting for cluster to come up...
Waiting for cluster to come up...
W0507 10:38:10.078019   66838 loader.go:221] Config not found: /home/compute/.flyte/k3s/k3s.yaml
W0507 10:38:10.078495   66838 loader.go:221] Config not found: /home/compute/.flyte/k3s/k3s.yaml
Error: open /home/compute/.flyte/k3s/k3s.yaml.lock: permission denied
{"json":{},"level":"error","msg":"open /home/compute/.flyte/k3s/k3s.yaml.lock: permission denied","ts":"2023-05-07T10:38:10Z"}
Copy code
āÆ cat ~/.flyte/k3s/k3s.yaml
cat: /home/compute/.flyte/k3s/k3s.yaml: No such file or directory

āÆ ll ~/.flyte/k3s/
total 0
lrwxrwxrwx 1 root root 32 May  7 10:38 k3s.yaml -> /var/lib/flyte/config/kubeconfig
Expected behavior ~/.flyte/k3s/k3s.yaml is created by
flytectl demo start
Additional context to reproduce The host is ubuntu linux
Copy code
āÆ flytectl version
{
  "App": "flytectl",
  "Build": "bd6b856",
  "Version": "0.6.36",
  "BuildTime": "2023-05-07 10:43:00.839982826 +0000 UTC m=+0.029162480"
}%
Screenshots No response Are you sure this issue hasn't been raised already? ā˜‘ļøŽ Yes Have you read the Code of Conduct? ā˜‘ļøŽ Yes flyteorg/flyte