Getting error while running workflow on kubernetes
See original GitHub issueHi,
I’m using minikube to run kubernetes in local system and trying to run workflow defined in demos/sklearn-pipe/sklearn-project.ipynb but getting the below error message.
Jupyter Cell:
artifact_path = path.abspath('./pipe/{{workflow.uid}}')
run_id = skproj.run(
'main',
arguments={},
artifact_path=artifact_path,
dirty=True)
Error message:
MaxRetryError: HTTPConnectionPool(host='ml-pipeline.default.svc.cluster.local', port=8888): Max retries exceeded with url: /apis/v1beta1/experiments (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fea36705a90>: Failed to establish a new connection: [Errno -2] Name or service not known'))
I have followed the instructions mentioned in below readme file https://github.com/mlrun/mlrun/blob/master/hack/local/README.md
Can anyone help me in resolving the error?
Issue Analytics
- State:
- Created 3 years ago
- Comments:26 (11 by maintainers)
Top Results From Across the Web
Kubernetes CrashLoopBackOff Error: What It Is and How to Fix It
CrashLoopBackOff is a common Kubernetes error, which indicates that a pod failed to start, Kubernetes tried to restart it, and it continued to...
Read more >Running Locally - The workflow engine for Kubernetes
Make sure you don't see any errors in your terminal. This runs the Workflow Controller locally on your machine (not in Docker/Kubernetes).
Read more >Workflow errors - Google Cloud
When a workflow throws an error during execution that isn't caught, the execution fails and an error map is returned. You might also...
Read more >Jobs | Kubernetes
A simple case is to create one Job object in order to reliably run one Pod to completion. The Job object will start...
Read more >The Kubernetes executor for GitLab Runner
Workflow. The Kubernetes executor divides the build into multiple steps: Prepare: Create the Pod against the Kubernetes Cluster. This creates the containers ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
for issue 1 try (if you followed the instructions):
@narendra36 you should set both
DEFAULT_DOCKER_REGISTRY
(url, e.g.https://index.docker.io/v1/
) andDEFAULT_DOCKER_SECRET
(k8s secret name, in the same namespace), another way is to set the registry per function, add this method to your function objectfn.build_config(image='target/image:tag', secret='my_docker')