Kubernetes create deployment unexpected SchemaError

后端 未结 18 1888
北荒
北荒 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:45

    According to the kubectl docs,

    You must use a kubectl version that is within one minor version difference of your cluster.

    kubectl v1.10 client apparently makes requests to kubectl v1.14 server without some newly (in 4 minor versions) required parameters.

    For brew users, reinstall kubernetes-cli. It's worth checking what installed the incompatible version. For brew users, check the command symlink ls -l $(which kubectl).

提交回复
热议问题