SeldonIO / seldon-server

Machine Learning Platform and Recommendation Engine built on Kubernetes
https://www.seldon.io/
Apache License 2.0
1.47k stars 300 forks source link

minikube json validation error #26

Closed geoHeil closed 7 years ago

geoHeil commented 7 years ago

Minikube complains about a json validation error for mysql in the latest released version.

error validating "/seldon-server/kubernetes/bin/../conf/mysql.json": error validating data: [unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object]; if you choose to ignore these errors, turn validation off with --validate=false

ukclivecox commented 7 years ago

Can you clarify the version of minikube and Seldon you are using so we can recreate this? Thanks.

geoHeil commented 7 years ago

I used the latest download from github v0.12.0 https://github.com/kubernetes/minikube/releases/tag/v0.12.0 and v0.1.3.11 for seldon server

ukclivecox commented 7 years ago

Hi. This looks like it could be a kubectl version issue. Can you show what you get back with: kubectl version

geoHeil commented 7 years ago

kubectl version Client Version: version.Info{Major:"1", Minor:"1", GitVersion:"v1.1.7", GitCommit:"e4e6878293a339e4087dae684647c9e53f1cf9f0", GitTreeState:"clean"}

ukclivecox commented 7 years ago

Can you try upgrading your kubectl to latest and retrying?, e.g.:

kubectl version Client Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.4", GitCommit:"3eed1e3be6848b877ff80a93da3785d9034d0a4f", GitTreeState:"clean"}

geoHeil commented 7 years ago

sorry. Indeed you are correct. I was using an outdated kubectl.

ukclivecox commented 7 years ago

Great. We'll update our docs as minikube don't make it clear the issues that could happen if you already have a preexisting kubectl. Thanks for highlighting this.