GunSik2 / k8s-ai

ai/bigdata/gpu examples with k8s
0 stars 0 forks source link

spark on k8s #3

Open GunSik2 opened 3 years ago

GunSik2 commented 3 years ago

Spark 예제 앱 이미지 생성

$SPARK_HOME/bin/spark-submit \ --master k8s://https://127.0.0.1:6443 \ --deploy-mode cluster \ --name spark-pi \ --class org.apache.spark.examples.SparkPi \ --conf spark.executor.instances=5 \ --conf spark.kubernetes.container.image=cgshome2/spark:v3.0.1-j14 \ local:///home/steward/Downloads/spark-3.1.2-bin-hadoop3.2/examples/jars/spark-examples_2.12-3.1.2.jar



참고
- https://ichi.pro/ko/kubernetes-ui-spark-67629249853531
- https://spark.apache.org/docs/latest/
GunSik2 commented 3 years ago
GunSik2 commented 3 years ago
GunSik2 commented 3 years ago

7 활용하여 배포