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