rickchengx opened a new pull request #4171:
URL: https://github.com/apache/zeppelin/pull/4171


   
   ### What is this PR for?
   Currently, the interpreter pod created by 
`k8s/interpreter/100-interpreter-spec.yaml` cannot set the `imagePullPolicy` 
for both the zeppelin image and the spark image (When using the spark 
interpreter, the spark image needs to be set for the init container).
   
   So this PR adds two properties:
   * `zeppelin.k8s.interpreter.container.imagePullPolicy`, to set the pull 
policy of the zeppelin image.
   * `zeppelin.k8s.spark.container.imagePullPolicy`, to set the pull policy of 
the spark image.
   
   Users can set these two properties directly in the interpreter settings, 
such as:
   ```
   %spark.conf
   zeppelin.k8s.interpreter.container.imagePullPolicy Always
   zeppelin.k8s.spark.container.imagePullPolicy Always
   ```
   
   ### What type of PR is it?
   [Improvement]
   
   ### Todos
   * [ ] - Task
   
   ### What is the Jira issue?
   * <https://issues.apache.org/jira/browse/ZEPPELIN-5456>
   
   ### How should this be tested?
   * CI pass and manually tested
   
   ### Screenshots (if appropriate)
   
   ### Questions:
   * Does the licenses files need update? No
   * Is there breaking changes for older versions? No
   * Does this needs documentation? No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to