没有匹配类型“部署"在版本“apps/v1"中 [英] no matches for kind "Deployment" in version "apps/v1"

查看:127
本文介绍了没有匹配类型“部署"在版本“apps/v1"中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 minikube v0.26.0 版本和 kubectl v1.10.1 版本和 localKube v1.8.0
当我尝试部署 kubeless ui 时出现以下错误

I have minikube v0.26.0 version and kubectl v1.10.1 version and localKube v1.8.0
i get the following error when i try to deploy the kubeless ui

$ kubectl create -f https://raw.githubusercontent.com/kubeless/kubeless-ui/master/k8s.yaml  

错误:

无法识别https://raw.githubusercontent.com/kubeless/kubeless-ui/master/k8s.yaml":apps/v1"版本中的Deployment"种类没有匹配

ERROR:

unable to recognize "https://raw.githubusercontent.com/kubeless/kubeless-ui/master/k8s.yaml": no matches for kind "Deployment" in version "apps/v1"

推荐答案

经过长时间的 R &

after a long R & D

minikube start --logtostderr --v=0 --bootstrapper=localkube --vm-driver virtualbox  

现在它下载了最新的 localkube 版本,这解决了我的问题.

now it downloaded the latest localkube version, and this solved my problem.

这篇关于没有匹配类型“部署"在版本“apps/v1"中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆