Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update docs for generating crd
  • Loading branch information
jiangzho committed Apr 9, 2024
commit d4480921b72331e4d835d43c35597d9af7e11006
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ build/
**/generated
lib
target
build-tools/helm/spark-kubernetes-operator/crds/
5 changes: 0 additions & 5 deletions build-tools/helm/spark-kubernetes-operator/.helmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
Expand Down
7 changes: 5 additions & 2 deletions spark-operator-docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,16 @@ minikube start
eval $(minikube docker-env)
```

### Build Spark Operator Image Locally
### Build Spark Operator Locally

```bash
# Build a local container image which can be used for minikube.etc.
# For testing in remote k8s cluster, please also do `docker push` to make it available
# to the cluster / nodes
docker build --build-arg BASE_VERSION=1.0.0-alpha -t spark-kubernetes-operator:1.0.0-alpha .
docker build --build-arg BASE_VERSION=1.0.0-alpha -t spark-kubernetes-operator:1.0.0-alpha .

# Generate CRD yaml and make it available for chart deployment
./gradlew spark-operator-api:copyGeneratedCRD

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should try to mention some preliminaries in this local, such as installing helm and yq.

```
### Install the Spark Operator

Expand Down