-
Notifications
You must be signed in to change notification settings - Fork 835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using a configMapRef inside of a seldon deployment manifest causes a NullPointerException in the SeldonDeploymentWatcher #450
Comments
It looks like you are using 0.2.5 release. This bug I think is fixed in 0.2.6-SNAPSHOT release so will be fixed in 0.2.6. seldon-core/cluster-manager/src/main/java/io/seldon/clustermanager/k8s/SeldonDeploymentWatcher.java Line 130 in fca2cfd
I'm not sure why the configMap would make a difference here. Can you explicitly add a |
Added the namespace as suggested. It did not fix the issue. |
As we use the k8s proto buffers for parsing the issue may be you need to be more verbose in your definition. Can you try below which adds
This worked on 0.2.6-SNAPSHOT release. The Namespace issue may still be there in 0.2.5. We will be doing a release in next few days. |
Adding the |
This issue discusses two related problems. The NullPointer issue is fixed in an earlier release and the correct Yaml/JSON to use is a current limitation of how we parse protobuffers. Created a new issue for this #489 |
I'm trying to use a ConfigMap to feed env variables into a SeldonDeployment, however, when using a configMapRef inside of the manifest as per official docs, the seldon cluster manager gets stuck in a NullPointerException loop and doesn't deploy anything.
Steps to reproduce:
kubectl apply -f seldon-dep.yaml
):Note that if
is removed from the above manifest, the deployment succeeds.
Error as seen in the logs for the SeldonClusterManager:
The text was updated successfully, but these errors were encountered: