Reamer commented on a change in pull request #3884:
URL: https://github.com/apache/zeppelin/pull/3884#discussion_r473952093



##########
File path: k8s/interpreter/100-interpreter-spec.yaml
##########
@@ -78,6 +78,21 @@ spec:
   - name: spark-home
     emptyDir: {}
   {% endif %}
+  {% if zeppelin.k8s.interpreter.group.name == "flink" %}
+    volumeMounts:
+    - name: flink-home
+      mountPath: /flink
+  initContainers:
+  - name: flink-home-init
+    image: {{zeppelin.k8s.flink.container.image}}
+    command: ["sh", "-c", "cp -r /opt/flink/* /flink/"]

Review comment:
       > Actually, Flink is alreadly in /opt/flink directory in 
ZEPPELIN_K8S_CONTAINER_IMAGE
   
   If Flink is already in your image (`ZEPPELIN_K8S_CONTAINER_IMAGE`), why do 
you need to copy Flink files that are in the initContainer into the interpreter 
container?




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to