Hello, guys! I faced with a problem of deployment...
# ask-metaflow
b
Hello, guys! I faced with a problem of deployment using Argo Workflows. I'm a beginner of deployment. Therefore, sorry for issues. https://docs.metaflow.org/production/scheduling-metaflow-flows/scheduling-with-argo-workflows#pushing-a-flow-to-production I want to launch a script using
python parameter_flow.py --with retry argo-workflows create,
but I faced with the following error:
Copy code
File "/home/user/miniconda3/envs/metaflow/lib/python3.11/site-packages/kubernetes/config/kube_config.py", line 662, in get_with_name
    raise ConfigException(
kubernetes.config.config_exception.ConfigException: Invalid kube-config file. Expected object with name  in /home/user/.kube/config/contexts list
I installed metaflow, kubernetes and mini-kube. I googled, but I didn't find any useful links to solve the problem. What necessary steps I missed before? Thank you so much!
f
are you able to run any
kubectl
command? e.g.
Copy code
kubectl get pods
b
oh, no I got this:
Copy code
E0919 18:31:25.976560   44972 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
E0919 18:31:25.976734   44972 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
E0919 18:31:25.977933   44972 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
E0919 18:31:25.979170   44972 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
E0919 18:31:25.980509   44972 memcache.go:265] couldn't get current server API group list: Get "<http://localhost:8080/api?timeout=32s>": dial tcp [::1]:8080: connect: connection refused
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Seems like, initially I have to run minikube locally? (If so, I'm working locally)
f
yeah first try to set-up minikube locally properly