2017-02-24 52 views
0

當我正在運行此編織網絡命令時,它顯示此錯誤。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 

如何解決這個問題?

+0

使用--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「找不到' –

+0

你正在運行什麼版本的Kubernetes? – Bryan

回答

1

@verma_neeraj,

  1. 這是否仍然一致地發生在你身上?
  2. 您正在使用哪個Kubernetes版本?
  3. 如果您運行curl https://git.io/weave-kube會發生什麼情況?

我可以證實可在https://git.io/weave-kube的YAML文件成功配置下Kubernetes版本1.5.+編織網daemonset,但我還沒有嘗試過其他版本。

預計與Kubernetes版本相關的問題,請注意,目前正在完成支持多個Kubernetes版本的工作,請參閱thesetwo GitHub問題。 這應該在未來幾周內提供。

(披露:我爲Weaveworks工作)