Skip to content

Commit 2f46d4c

Browse files
zwangshengulysses-you
authored andcommitted
[KYUUBI #1533] Add documentation about Kyuubi docker-image-tool using Spark image as BASE_IMAGE
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> Add documentation about Kyuubi docker-image-tool using Spark image as BASE_IMAGE #1533 ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #1534 from zwangsheng/KYUUBI/1533. Closes #1533 803afee [zwangsheng] fix 9fbc82e [zwangsheng] add doc Authored-by: zwangsheng <2213335496@qq.com> Signed-off-by: ulysses-you <ulyssesyou@apache.org>
1 parent 609bb5a commit 2f46d4c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/deployment/kyuubi_on_kubernetes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,19 @@ Examples:
5656

5757
- Build with Spark placed "/path/spark"
5858
$0 -s /path/spark build
59+
60+
- Build with Spark Image myrepo/spark:3.1.0
61+
$0 -S /opt/spark -b BASE_IMAGE=myrepo/spark:3.1.0 build
5962
```
6063

6164
`${KYUUBI_HOME}/bin/docker-image-tool.sh` use `Kyuubi Version` as default docker tag and always build `${repo}/kyuubi:${tag}` image.
6265

6366
The script can also help build external Spark into a Kyuubi image that acts as a client for submitting tasks by `-s ${SPAAK_HOME}`.
6467

68+
Of course, if you have an image that contains the Spark binary package, you don't have to copy Spark locally. Make your Spark Image as BASE_IMAGE by using the `-S ${SPARK_HOME_IN_DOCKER}` and `-b BASE_IMAGE=${SPARK_IMAGE}` arguments.
69+
70+
You can use `${KYUUBI_HOME}/bin/docker-image-tool.sh -h` for more parameters.
71+
6572
## Deploy
6673

6774
Multiple YAML files are provided under `${KYUUBI_HOME}/docker/` to help you deploy Kyuubi.

0 commit comments

Comments
 (0)