This is an automated email from the ASF dual-hosted git repository. moon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 82749aa [ZEPPELIN-3982] add how to setup development mode for Kubernetes support 82749aa is described below commit 82749aa15b57370fc3a7ed93c7fb88bc1cabb651 Author: Lee moon soo <m...@apache.org> AuthorDate: Fri Feb 1 14:56:11 2019 -0800 [ZEPPELIN-3982] add how to setup development mode for Kubernetes support ### What is this PR for? This pr adds docs that explains development mode for Kubernetes support. ### What type of PR is it? Documentation ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-3982 ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Lee moon soo <m...@apache.org> Closes #3298 from Leemoonsoo/ZEPPELIN-3982 and squashes the following commits: 5e5cc652b [Lee moon soo] add kubernetes development mode --- docs/quickstart/kubernetes.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/quickstart/kubernetes.md b/docs/quickstart/kubernetes.md index f8f6a6a..7b64e7f 100644 --- a/docs/quickstart/kubernetes.md +++ b/docs/quickstart/kubernetes.md @@ -251,3 +251,18 @@ to customize, - Blocking communication between interpreter Pod. - Spark Interpreter Pod has Role CRUD for any pod/service in the same namespace. Which should be restricted to only Spark executors Pod. - Per note interpreter mode by default when Zeppelin is running on Kubernetes + + +## Development + +Instead of build Zeppelin distribution package and docker image everytime during development, +Zeppelin can run locally (such as inside your IDE in debug mode) and able to run Interpreter using [K8sStandardInterpreterLauncher](https://github.com/apache/zeppelin/blob/master/zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/K8sStandardInterpreterLauncher.java) by configuring following environment variables. + +| Environment variable | Value | Description | +| ----- | ----- | ----- | +| ZEPPELIN_RUN_MODE | k8s | Make Zeppelin run interpreter on Kubernetes | +| ZEPPELIN_K8S_PORTFORWARD | true | Enable port forwarding from local Zeppelin instance to Interpreters running on Kubernetes | +| ZEPPELIN_K8S_CONTAINER_IMAGE | <image>:<version> | Zeppelin interpreter docker image to use | +| ZEPPELIN_K8S_SPARK_CONTAINER_IMAGE | <image>:<version> | Spark docker image to use | + +`kubectl` command need to be configured to connect your Kubernetes cluster.