kubeflow / spark-operator

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

CRD upgrade error with crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml #1043

Open renjigeorge opened 4 years ago

renjigeorge commented 4 years ago

Hi I am getting this error message in the pods of sparkoperator.

E1017 01:22:50.178928 10 reflector.go:123] pkg/mod/k8s.io/client-go@v0.16.6/tools/cache/reflector.go:96: Failed to list *v1beta2.ScheduledSparkApplication: the server could not find the requested resource (get scheduledsparkapplications.sparkoperator.k8s.io)

Also when I try to install the latest release crds I get this issue too.

kubectl create -f crds/sparkoperator.k8s.io_scheduledsparkapplications.yaml --validate=false The CustomResourceDefinition "scheduledsparkapplications.sparkoperator.k8s.io" is invalid: metadata.annotations[api-approved.kubernetes.io]: Required value: protected groups must have approval annotation "api-approved.kubernetes.io", see https://github.com/kubernetes/enhancements/pull/1111

any one help me troubleshoot this issue

shardulsrivastava commented 4 years ago

@renjigeorge how did you install the operator and which version did you install also your Kubernetes version ??

github-actions[bot] commented 1 week 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.