kubeflow / spark-operator

Kubernetes operator for managing the lifecycle of Apache Spark applications on Kubernetes.
Apache License 2.0
2.8k stars 1.38k forks source link

Got error when update crd #937

Open ycwdaaaa opened 4 years ago

ycwdaaaa commented 4 years ago

error message: I0531 07:30:32.834326 11 main.go:137] Starting the Spark Operator I0531 07:30:32.896951 11 crd.go:66] Updating CustomResourceDefinition sparkapplications.sparkoperator.k8s.io F0531 07:30:32.920040 11 main.go:163] failed to create or update CustomResourceDefinition sparkapplications.sparkoperator.k8s.io: CustomResourceDefinition.apiextensions.k8s.io "sparkapplications.sparkoperator.k8s.io" is invalid: status.storedVersions[0]: Invalid value: "v1beta2": must appear in spec.versions

helm version: 3

install commnad : helm install incubator/sparkoperator --generate-name --namespace spark-operator --set sparkJobNamespace=default --set operatorImageName=psschwei/spark-operator --set operatorVersion=2.4.5

ycwdaaaa commented 4 years ago

hello? anybody here?

liyinan926 commented 4 years ago

Which version of k8s are you running, and where are your running your k8s cluster?

ycwdaaaa commented 4 years ago

@liyinan926
k8s version: 1.16 I run this in the master node with kubectl command ennable

liyinan926 commented 4 years ago

So you already had the CRDs in the cluster before you ran helm install?

ycwdaaaa commented 4 years ago

@liyinan926 no, i just run the helm install command

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.