microscopic-honey-72761
07/26/2022, 12:39 AMflyte start --config=flyte_local_k3d.yaml
, (after having run make compile
already) for example when using k3d. Even though my .k3d/kubeconfig-flyte.yaml
config file works with k3d directly, when I try to run the above command I always get an error:
{"json":{"src":"start.go:113"},"level":"error","msg":"Failed to create controller manager. error building Kubernetes Clientset: Error building kubeconfig: error loading config file \"/Users/ailinyu/.k3d/kubeconfig-flyte.yaml\": no kind \"Simple\" is registered for version \"<http://k3d.io/v1alpha3\|k3d.io/v1alpha3\>" in scheme \"pkg/runtime/scheme.go:100\"","ts":"2022-07-25T17:17:20-07:00"} {"json":{"src":"start.go:164"},"level":"panic","msg":"Failed to start Propeller, err: error building Kubernetes Clientset: Error building kubeconfig: error loading config file \"/Users/ailinyu/.k3d/kubeconfig-flyte.yaml\": no kind \"Simple\" is registered for version \"<http://k3d.io/v1alpha3\|k3d.io/v1alpha3\>" in scheme \"pkg/runtime/scheme.go:100\"","ts":"2022-07-25T17:17:20-07:00"}
Am I using this incorrectly or do I need to have something else in my k3d yaml config perhaps?hallowed-mouse-14616
07/26/2022, 1:19 AMmicroscopic-honey-72761
07/26/2022, 7:58 PMmicroscopic-honey-72761
07/26/2022, 11:32 PMflytectl create execution --execFile execution_spec.yaml -p flytesnacks -d development --targetProject flytesnacks
{"json":{},"level":"info","msg":"Initialized Admin client","ts":"2022-07-26T16:25:14-07:00"}
Error: rpc error: code = Internal desc = failed to create workflow in propeller namespaces "flytesnacks-development" not found
{"json":{},"level":"error","msg":"rpc error: code = Internal desc = failed to create workflow in propeller namespaces \"flytesnacks-development\" not found","ts":"2022-07-26T16:25:15-07:00"}
Which I thought was interesting since I was able to successfully fast register to that project/domain in order to get to this point. I’m not too sure what to try next other than registering my own projects and seeing if things work the way I’m expecting when I go that route!hallowed-mouse-14616
07/27/2022, 2:17 AMapiVersion: v1
kind: Namespace
metadata:
name: flytesnacks-development
then you can do something like kubectl create -f namespace.yaml
to create it.