Hey Guys,
I installed microk8s and is working. I can upload and run a pipeline using the UI. Now I installed kfp python api (issues exist with the cli too) and I’m trying to submit a pipeline using the cli. Here is the api for the client function:
AttributeError: 'NoneType' object has no attribute 'id'
Which suggests that the host and/or other default parameters are wrong. Unfortunately there is no doc whatsoever anywhere. My guess is I should somehow provide a user pass too. Can someone provide some concrete steps to filling the parameters so thet I can submit a pipeline programmatically?
Try this: client = kfp.Client(host=‘pipelines-api.kubeflow.svc.cluster.local:8888’).
This helped me resolve the HTTPConnection error and AttributeError: ‘NoneType’ object has no attribute ‘id’
Thanks, but it did not work either, I got connection error:
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='pipelines-api.kubeflow.svc.cluster.local', port=8888): Max retries exceeded with url: /apis/v1beta1/experiments (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5d95a485c0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
Thanks,
That link does not look right,
Also, I’m not running from jupyter, I’m running directly the local host (python pipeline.py) on microk8s machine.