Skip to content

Commit e33c0bb

Browse files
authored
documentation: use server-side apply in README (#3326)
* docs: update Spark operator installation command to include --force-conflicts Signed-off-by: Denyme24 <[email protected]> * update README Signed-off-by: Denyme24 <[email protected]> * update README Signed-off-by: Denyme24 <[email protected]> --------- Signed-off-by: Denyme24 <[email protected]>
1 parent d23d747 commit e33c0bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ kustomize build applications/trainer/upstream/overlays/kubeflow-platform | kubec
566566
Install the Spark Operator:
567567

568568
```sh
569-
kustomize build applications/spark/spark-operator/overlays/kubeflow | kubectl apply -f -
569+
kustomize build applications/spark/spark-operator/overlays/kubeflow | kubectl apply --server-side --force-conflicts -f -
570570
```
571571

572572
**Note:** The Ray component in the experimental folder is configured to disable Istio sidecar injection for its head and worker pods to ensure compatibility with Istio CNI.

tests/spark_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ REPOSITORY_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || echo "${GITHUB_WO
55
cd "${REPOSITORY_ROOT}"
66

77
# Install Spark operator
8-
kustomize build applications/spark/spark-operator/overlays/standalone | kubectl -n kubeflow apply --server-side -f -
8+
kustomize build applications/spark/spark-operator/overlays/kubeflow | kubectl -n kubeflow apply --server-side --force-conflicts -f -
99

1010
# Wait for the operator controller to be ready.
1111
kubectl -n kubeflow wait --for=condition=available --timeout=60s deploy/spark-operator-controller

0 commit comments

Comments
 (0)