Skip to content

Very Quick Start Fails #341

@alex-treebeard

Description

@alex-treebeard

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions