Kubernetes create deployment unexpected SchemaError

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

    I encountered the same issue on minikube/ Windows 10 after installing Docker. It was caused by the version mismatch of kubectl that was mentioned a couple of times already in this thread. Docker installs version 1.10 of kubectl.
    You have a couple of options:

    1) Make sure the path to your k8s bin is above the ones in docker
    2) Replace the kubectl in 'c:\Program Files\Docker\Docker\resources\bin' with the correct one

提交回复
热议问题