Description:
I'm new to operators, but it seems the Very Quick Start setup guide is missing the CRD definition installation?
Steps to reproduce:
-
➜ 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
-
➜ 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"
Description:
I'm new to operators, but it seems the Very Quick Start setup guide is missing the CRD definition installation?
Steps to reproduce: