Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes v1.11 Failed validation #129

Closed
miry opened this issue Jun 29, 2018 · 3 comments
Closed

Kubernetes v1.11 Failed validation #129

miry opened this issue Jun 29, 2018 · 3 comments

Comments

@miry
Copy link

miry commented Jun 29, 2018

During installation of CNI there is validation error:

$ kubectl --kubeconfig=/etc/kubernetes/admin.conf apply -f https://raw.githubusercontent.com/projectcalico/canal/master/k8s-install/1.7/canal.yaml

error: error validating "https://raw.githubusercontent.com/projectcalico/canal/master/k8s-install/1.7/canal.yaml": error validating data: ValidationError(CustomResourceDefinition): unknown field "description" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition; if you choose to ignore these errors, turn validation off with --validate=false

Cluster installed via kubeadm v1.11.0.

@tmjd
Copy link
Member

tmjd commented Jun 29, 2018

Is there a reason you aren't not using the manifest hosted at https://docs.projectcalico.org/v3.1/getting-started/kubernetes/installation/flannel? This repo has been deprecated for the installation docs at the linked docs.

If you think you need to use the manifest located here you should just be able to remove the description field(s) that is causing that validation failure.

@caseydavenport
Copy link
Member

@tmjd yep, that's right.

I think we should remove the manifests from this repo now that it's been deprecated for several months. They're out-of-date now :)

@tmjd tmjd closed this as completed Jul 5, 2018
@miry
Copy link
Author

miry commented Jul 9, 2018

@tmjd because I follow the documentation: https://github.com/projectcalico/canal/tree/master/k8s-install since Kube version 1.6. Thanks for link. I will check it.

ian28223 added a commit to ian28223/kubernetes-vagrant-coreos-cluster that referenced this issue Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants