Search This Blog

Sunday, July 28, 2019

Solved : Kubernetes : error: SchemaError: invalid object doesn't have additional properties

Recently while setting Kubernetes i have encountered with following error  :


error: SchemaError(io.k8s.kube-aggregator.pkg.apis.apiregistration.v1.APIServiceList): invalid object doesn't have additional properties

This error is probably ( not sure) due to docker running in my MAC which installed Kubernetes as well. Later i have decided to used minikube rather than docker cluster. 

Easy solution I have tried to fix this problem is by uninstalling kubectl with following commands.

brew uninstall kubectl

and then installed using :

brew install kubectl

then run below to force symlink creation :

brew link --overwrite kubernetes-cli

It solved the issue for me... but there might be more solutions as well. Google more :) if still does not work for you.

Cheers,

Kapil

No comments:

Post a Comment

Thanks for your comment, will revert as soon as we read it.

Popular Posts