radanalyticsio / openshift-spark

72 stars 83 forks source link

Modify entrypoint to support spark-on-k8s execution #58

Closed tmckayus closed 6 years ago

tmckayus commented 6 years ago

This change modifies the entrypoint so that if a spark-on-k8s command is passed, it delegates to the spark entrypoint. Otherwise the command is executed as is. This allows the openshift-spark image to continue to function as a Spark Standalone component, with custom configuration support etc, but double as an OpenShift spark-on-k8s image.

tmckayus commented 6 years ago

@erikerlandson @rimolive ptal

tmckayus commented 6 years ago

tested this on OpenShift against the s2i end-to-end tests, merging