Kubernetes:编织网络未安装
问题描述:
当我正在运行此编织网络命令时,它显示此错误。Kubernetes:编织网络未安装
[[email protected] ~]# kubectl apply -f https://git.io/weave-kube
error validating "https://git.io/weave-kube": error validating data: [unexpected type: object, unexpected type: object, unexpected type: object, unexpected type: object]; if you choose to ignore these errors, turn validation off with --validate=false
如何解决这个问题?
答
@verma_neeraj,
- 这是否仍然一致地发生在你身上?
- 您正在使用哪个Kubernetes版本?
- 如果您运行
curl https://git.io/weave-kube
会发生什么情况?
我可以证实可在https://git.io/weave-kube的YAML文件成功配置下Kubernetes版本1.5.+
编织网daemonset,但我还没有尝试过其他版本。
预计与Kubernetes版本相关的问题,请注意,目前正在完成支持多个Kubernetes版本的工作,请参阅thesetwo GitHub问题。 这应该在未来几周内提供。
(披露:我为Weaveworks工作)
使用--validate =假 '[根@ TS〜]#kubectl申请-f https://git.io/weave-kube后也越来越此 - -validate = false 服务器出错:检索当前配置时出错: &0xc2082cbb80 0xc20800eaf0 kube-system weave-net https://git.io/weave-kube 0xc2083643c0 0xc2083fc5a0} 来自服务器的:“https:/ /git.io/weave-kube“:daemonsets.extensions”weave-net“找不到' –
你正在运行什么版本的Kubernetes? – Bryan