-
Notifications
You must be signed in to change notification settings - Fork 716
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
Invalid value: "v1beta1": must appear in spec.versions #1056
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Hi you cannot use crd-v1.yaml for v1beta1, v1 and v1beta1 are two versions of API |
This is a bug of the example crd, conflict between apiversion and the versions in spec.
The crd can work if I use the following yaml file, but for master brach, I can just build tf-operator.v1 and tf-operator.v1beta2, the crd is v1beta1, so the operator can not work.
I switch to the branch 0.5, it will work for both the crd and operator. |
Can you use the latest tf operator installation in https://github.com/kubeflow/manifests/tree/master/tf-training/tf-job-operator ? |
/close I am closing it since it is stale, but feel free to comment |
Environment:
k8s 1.14.2
kuberctl 1.14.2
ks 0.13.1
kubeflow 0.4.1
minikube 1.2
Error
When I apply the CRD in the example, I get the below error:
kubectl apply -f ./examples/crd/crd-v1.yaml
Warning: kubectl apply should be used on resource created by either kubectl create --save-config or kubectl apply
The CustomResourceDefinition "tfjobs.kubeflow.org" is invalid:
The text was updated successfully, but these errors were encountered: