nuclio / nuclio-jupyter

Nuclio Function Automation for Python and Jupyter
https://nuclio.io/
Apache License 2.0
84 stars 48 forks source link

%nuclio: error: cannot deploy #74

Open felihong opened 4 years ago

felihong commented 4 years ago

Hi there,

following https://www.kubeflow.org/docs/components/misc/nuclio/ I deployed Nuclio in my GKE cluster, the following errors are triggered when testing with the nlp example in my kubeflow notebook:

%nuclio deploy -d <dashboard-external-ip> -n nlp -p default 

[14:08:55.311] (I) Deploying function 
[14:08:55.311] (I) Building 
[14:08:55.381] (I) Staging files and preparing base images 
[14:08:55.382] (I) Building processor image [imageName: "nuclio/processor-nlp:latest"]
[14:09:10.728] (W) Create function failed, setting function status [errorStack: "
Error - exit status 1
    .../nuclio/nuclio/pkg/cmdrunner/cmdrunner.go:131

Call stack:
stdout:
The push refers to repository [localhost:5000/nuclio/processor-nlp]

stderr:
Get http://localhost:5000/v2/: dial tcp [::1]:5000: connect: connection refused

    .../nuclio/nuclio/pkg/cmdrunner/cmdrunner.go:131
Failed to push image
    .../nuclio/nuclio/pkg/dockerclient/shell.go:157
Failed to push docker image into registry
    .../pkg/containerimagebuilderpusher/docker.go:55
Failed to build processor image
    .../nuclio/nuclio/pkg/processor/build/builder.go:242
"]

Moreover deployment a function to the above dashboard with cli nuctl works well, any ideas where should I start to address this issue? Thanks.

chathurawidanage commented 4 years ago

I am having the same issue.

yaronha commented 4 years ago

@chathurawidanage seems like a nuclio registry config issue, @pavius @liranbg any ideas why it would fail?