This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/gh-pages by this push: new f106861 Add pi.yaml f106861 is described below commit f10686100d4be5a0c6edbed3ab566b4dee267ce7 Author: Dongjoon Hyun <dongj...@apache.org> AuthorDate: Fri May 16 09:36:50 2025 -0700 Add pi.yaml --- pi.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/pi.yaml b/pi.yaml new file mode 100644 index 0000000..bfcd73d --- /dev/null +++ b/pi.yaml @@ -0,0 +1,32 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +apiVersion: spark.apache.org/v1alpha1 +kind: SparkApplication +metadata: + name: pi +spec: + mainClass: "org.apache.spark.examples.SparkPi" + jars: "local:///opt/spark/examples/jars/spark-examples.jar" + sparkConf: + spark.dynamicAllocation.enabled: "true" + spark.dynamicAllocation.shuffleTracking.enabled: "true" + spark.dynamicAllocation.maxExecutors: "3" + spark.kubernetes.authenticate.driver.serviceAccountName: "spark" + spark.kubernetes.container.image: "apache/spark:4.0.0-preview2" + applicationTolerations: + resourceRetainPolicy: OnFailure + runtimeVersions: + scalaVersion: "2.13" + sparkVersion: "4.0.0-preview2" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org