spark on k8s提交任务脚本示例

bin/spark-submit \
    --master k8s://https://192.168.xxx.10:6443 \
    --deploy-mode cluster \
    --name spark-pi \
    --class org.apache.spark.examples.SparkPi \
    --conf spark.executor.instances=3 \
    --conf spark.kubernetes.authenticate.driver.serviceAccountName=spark \
    --conf spark.kubernetes.container.image=192.168.xxx.28:1603/lego/spark/spark/spark:3.1.1 \
    local:///opt/spark/examples/jars/spark-examples_2.12-3.1.1.jar	

 

上一篇:有趣的css 微信小程序,各种水平居中,垂直居中,文字,图片


下一篇:可微渲染 SoftRas 实践