Skip to content

Commit e8874f4

Browse files
committed
v1beta1 test
1 parent 80abe84 commit e8874f4

33 files changed

+38
-38
lines changed

build-tools/helm/spark-kubernetes-operator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ cluster using the [Helm](https://helm.sh) package manager. With this, you can la
4040

4141
- Support Apache Spark 3.5+
4242
- Support `SparkApp` and `SparkCluster` CRDs
43-
- `sparkapplications.spark.apache.org` (v1alpha1)
44-
- `sparkclusters.spark.apache.org` (v1alpha1)
43+
- `sparkapplications.spark.apache.org` (v1beta1)
44+
- `sparkclusters.spark.apache.org` (v1beta1)
4545
- Support HPA for SparkCluster

build-tools/helm/spark-kubernetes-operator/templates/workload-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ metadata:
161161
{{- end }}
162162
{{- if $workloadResources.sparkApplicationSentinel.create }}
163163
{{- range $sentinelNs := .Values.workloadResources.sparkApplicationSentinel.sentinelNamespaces.data }}
164-
apiVersion: spark.apache.org/v1alpha1
164+
apiVersion: spark.apache.org/v1beta1
165165
kind: SparkApplication
166166
metadata:
167167
name: {{ $workloadResources.sparkApplicationSentinel.name }}

docs/operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ send the HTTP Get to the liveness endpoint, and the
142142
kubelet will then kill the spark operator container and restart it.
143143

144144
```yaml
145-
apiVersion: org.apache.spark/v1alpha1
145+
apiVersion: org.apache.spark/v1beta1
146146
kind: SparkApplication
147147
metadata:
148148
name: spark-sentinel-resources

docs/spark_custom_resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ SparkApplication can be defined in YAML format. User may configure the applicati
3535
and configurations. Let's start with the [Spark-Pi example](../examples/pi.yaml):
3636

3737
```yaml
38-
apiVersion: spark.apache.org/v1alpha1
38+
apiVersion: spark.apache.org/v1beta1
3939
kind: SparkApplication
4040
metadata:
4141
name: pi

examples/cluster-java21.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
apiVersion: spark.apache.org/v1alpha1
15+
apiVersion: spark.apache.org/v1beta1
1616
kind: SparkCluster
1717
metadata:
1818
name: cluster-java21

examples/cluster-on-yunikorn.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
apiVersion: spark.apache.org/v1alpha1
15+
apiVersion: spark.apache.org/v1beta1
1616
kind: SparkCluster
1717
metadata:
1818
name: cluster-on-yunikorn

examples/cluster-with-hpa-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
apiVersion: spark.apache.org/v1alpha1
15+
apiVersion: spark.apache.org/v1beta1
1616
kind: SparkCluster
1717
metadata:
1818
name: cluster-with-hpa-template

examples/cluster-with-hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
apiVersion: spark.apache.org/v1alpha1
15+
apiVersion: spark.apache.org/v1beta1
1616
kind: SparkCluster
1717
metadata:
1818
name: cluster-with-hpa

examples/cluster-with-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
apiVersion: spark.apache.org/v1alpha1
15+
apiVersion: spark.apache.org/v1beta1
1616
kind: SparkCluster
1717
metadata:
1818
name: cluster-with-template

examples/pi-java21.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
apiVersion: spark.apache.org/v1alpha1
15+
apiVersion: spark.apache.org/v1beta1
1616
kind: SparkApplication
1717
metadata:
1818
name: pi-java21

0 commit comments

Comments
 (0)