Kubernetes create deployment unexpected SchemaError

后端 未结 18 1929
北荒
北荒 2020-12-24 00:29

I\'m following that tutorial (https://www.baeldung.com/spring-boot-minikube) I want to create Kubernetes deployment in yaml file (simple-crud-dpl.yaml):

apiV         


        
18条回答
  •  无人及你
    2020-12-24 00:42

    I had a similar problem with error

    error: SchemaError(io.k8s.api.storage.v1beta1.CSIDriverList): invalid object doesn't have additional properties

    My issue was that my mac was using google's kubectl that was installed with the gcp tools. My path looks there first before going into /usr/local/bin/

    Once I run kubectl from /usr/local/bin my problem went away.

提交回复
热议问题