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 dddfad3  Add prod-cluster-with-three-workers.yaml to gh-pages
dddfad3 is described below

commit dddfad37df5e9a52bc0f5dd62e199dc36a30ce70
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Tue Oct 7 19:53:53 2025 -0700

    Add prod-cluster-with-three-workers.yaml to gh-pages
---
 index.md                             |  2 +-
 prod-cluster-with-three-workers.yaml | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/index.md b/index.md
index ad8cabf..aa1a9d2 100644
--- a/index.md
+++ b/index.md
@@ -73,7 +73,7 @@ Pi is roughly 3.1426151426151425
 ## Run Spark Cluster
 
 ```bash
-$ kubectl apply -f 
https://raw.githubusercontent.com/apache/spark-kubernetes-operator/refs/tags/0.5.0/examples/prod-cluster-with-three-workers.yaml
+$ kubectl apply -f 
https://apache.github.io/spark-kubernetes-operator/prod-cluster-with-three-workers.yaml
 sparkcluster.spark.apache.org/prod created
 
 $ kubectl get sparkcluster
diff --git a/prod-cluster-with-three-workers.yaml 
b/prod-cluster-with-three-workers.yaml
new file mode 100644
index 0000000..1957a6e
--- /dev/null
+++ b/prod-cluster-with-three-workers.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/v1
+kind: SparkCluster
+metadata:
+  name: prod
+spec:
+  runtimeVersions:
+    sparkVersion: "4.0.1"
+  clusterTolerations:
+    instanceConfig:
+      initWorkers: 3
+      minWorkers: 3
+      maxWorkers: 3
+  sparkConf:
+    spark.kubernetes.container.image: "apache/spark:4.0.1"
+    spark.master.ui.title: "Prod Spark Cluster"
+    spark.master.rest.enabled: "true"
+    spark.master.rest.host: "0.0.0.0"
+    spark.ui.reverseProxy: "true"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to