Reputation: 21
When I am running this command for weave network, it is showing this error.
[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
How to resolve this?
Upvotes: 0
Views: 674
Reputation: 1454
@verma_neeraj,
curl https://git.io/weave-kube
?I can confirm the YAML file available at https://git.io/weave-kube successfully configures the Weave Net daemonset under Kubernetes versions 1.5.+
, but I have not tried other versions.
Anticipating an issue related to Kubernetes versions, note that there is work being done to support multiple Kubernetes versions, see these two GitHub issues. This should be available in the coming weeks.
(Disclosure: I work for Weaveworks)
Upvotes: 1