Kubernetes:编织网络未安装

Kubernetes: Weave network not installing

当我运行这个编织网络的命令时,它显示这个错误。

[root@ts ~]# 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、

  1. 这种情况是否仍然持续发生在你身上?
  2. 您使用的是哪个 Kubernetes 版本?
  3. 如果你 运行 curl https://git.io/weave-kube 会怎样?

我可以确认 https://git.io/weave-kube 处可用的 YAML 文件在 Kubernetes 版本 1.5.+ 下成功配置了 Weave Net daemonset,但我没有尝试过其他版本。

预计会出现与 Kubernetes 版本相关的问题,请注意,我们正在努力支持多个 Kubernetes 版本,请参阅 these two GitHub 问题。 这应该会在未来几周内提供。

(披露:我在 Weaveworks 工作)