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

Very Quick Start Fails #341

Open
alex-treebeard opened this issue May 22, 2021 · 1 comment
Open

Very Quick Start Fails #341

alex-treebeard opened this issue May 22, 2021 · 1 comment

Comments

@alex-treebeard
Copy link

Description:

I'm new to operators, but it seems the Very Quick Start setup guide is missing the CRD definition installation?

Steps to reproduce:

  1.  ➜ kubectl apply -f http://bit.ly/sparkop
     serviceaccount/spark-operator created
     Warning: rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding
     clusterrolebinding.rbac.authorization.k8s.io/spark-operator-edit-resources created
     deployment.apps/spark-operator created
  2.  ➜ cat <<EOF | kubectl apply -f -
     apiVersion: v1
     kind: SparkCluster
     metadata:
       name: my-cluster
     spec:
       worker:
         instances: "2"
     EOF
     error: unable to recognize "STDIN": no matches for kind "SparkCluster" in version "v1"
@jkremser
Copy link
Member

jkremser commented Jun 2, 2021

Operator creates the CRDs during its startup, so there is no need to create them. It looks like there is a typo in the readme. It the apiVersion should be radanalytics.io/v1 as in here https://github.com/radanalyticsio/spark-operator/blob/master/examples/cluster.yaml

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

2 participants