Kubernetes create deployment unexpected SchemaError

后端 未结 18 1957
北荒
北荒 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 01:02

    I second @rennekon's answer. I found that I had docker running on my machine which also installs kubectl. That installation of kubectl causes this issue to show.

    I took the following steps:

    • uninstalled it using brew uninstall kubectl
    • reinstalled it using brew install kubectl
    • (due to symlink creation failure) I forced brew to create symlinks using brew link --overwrite kubernetes-cli

    I was then able to run my kubectl apply commands successfully.

提交回复
热议问题