aws-samples / eks-spark-benchmark

Performance optimization for Spark running on Kubernetes
Apache License 2.0
85 stars 28 forks source link

errors in Spark CRD setup. #6

Closed yahavb closed 4 years ago

yahavb commented 4 years ago

https://github.com/aws-samples/eks-spark-benchmark/blob/master/benchmark/README.md#install-spark-operator indicates the following

helm init --service-account tiller
Error: unknown command "init" for "helm"

and

helm install incubator/sparkoperator --namespace spark-operator --set enableWebhook=true --set sparkJobNamespace=default --set operatorImageName=seedjeffwan/spark-operator --set operatorVersion=v2.4.5
Error: must either provide a name or specify --generate-name

both generate errors

nithu0115 commented 4 years ago

Hi @yahavb,

https://github.com/aws-samples/eks-spark-benchmark/blob/master/benchmark/README.md#install-spark-operator indicates the following

helm init --service-account tiller
Error: unknown command "init" for "helm"

Tiller was removed in helm 3, and therefore helm init is no longer necessary. and

helm install incubator/sparkoperator --namespace spark-operator --set enableWebhook=true --set sparkJobNamespace=default --set operatorImageName=seedjeffwan/spark-operator --set operatorVersion=v2.4.5
Error: must either provide a name or specify --generate-name

both generate errors

Try adding --generate-name to generate the name (and omit the NAME parameter)