This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new 2d95ad583 [feat][flink-k8s-v2] Update the helm configs to support 
embedded file server. (#2886) (#3053)
2d95ad583 is described below

commit 2d95ad58392ef0ba1559f1044c58191bf424b3e1
Author: Linying Assad <[email protected]>
AuthorDate: Wed Sep 13 08:15:47 2023 -0500

    [feat][flink-k8s-v2] Update the helm configs to support embedded file 
server. (#2886) (#3053)
---
 deploy/docker/Dockerfile                                           | 1 +
 deploy/docker/docker-compose.yaml                                  | 1 +
 .../helm/streampark/conf/streampark-console-config/application.yml | 7 +++++++
 deploy/helm/streampark/templates/service.yaml                      | 3 +++
 deploy/helm/streampark/templates/streampark.yml                    | 3 +++
 deploy/helm/streampark/values.yaml                                 | 1 +
 6 files changed, 16 insertions(+)

diff --git a/deploy/docker/Dockerfile b/deploy/docker/Dockerfile
index d216712e5..aee3a8a90 100644
--- a/deploy/docker/Dockerfile
+++ b/deploy/docker/Dockerfile
@@ -50,3 +50,4 @@ RUN wget 
"https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.t
 RUN mkdir -p ~/.kube
 
 EXPOSE 10000
+EXPOSE 10030
diff --git a/deploy/docker/docker-compose.yaml 
b/deploy/docker/docker-compose.yaml
index 795f00057..cd3e7eef5 100644
--- a/deploy/docker/docker-compose.yaml
+++ b/deploy/docker/docker-compose.yaml
@@ -21,6 +21,7 @@ services:
     command: ${RUN_COMMAND}
     ports:
       - 10000:10000
+      - 10030:10030
     env_file: .env
     volumes:
       - flink:/streampark/flink/${FLINK}
diff --git 
a/deploy/helm/streampark/conf/streampark-console-config/application.yml 
b/deploy/helm/streampark/conf/streampark-console-config/application.yml
index d4b6a1ed5..f947a85db 100755
--- a/deploy/helm/streampark/conf/streampark-console-config/application.yml
+++ b/deploy/helm/streampark/conf/streampark-console-config/application.yml
@@ -113,6 +113,13 @@ streampark:
 
   # flink-k8s tracking configuration
   flink-k8s:
+    enable-v2: false
+    fs-server.port: 10030
+    log-cr-yaml: true
+    flink-rest:
+      # When streampark is running in a Kubernetes pod, please prioritize 
using the value of DNS.
+      access-type: IP
+    # When enable-v2 is enabled, the following configuration would be disabled
     tracking:
       silent-state-keep-sec: 10
       polling-task-timeout-sec:
diff --git a/deploy/helm/streampark/templates/service.yaml 
b/deploy/helm/streampark/templates/service.yaml
index 4b1928fdb..b0d16fb0b 100644
--- a/deploy/helm/streampark/templates/service.yaml
+++ b/deploy/helm/streampark/templates/service.yaml
@@ -27,3 +27,6 @@ spec:
     - name: {{ .Values.spec.name }}
       port: {{ .Values.spec.containerPort }}
       protocol: TCP
+    - name: efs
+      port: {{ .Values.spec.efsPort }}
+      protocol: TCP
diff --git a/deploy/helm/streampark/templates/streampark.yml 
b/deploy/helm/streampark/templates/streampark.yml
index fa8a5d4df..049aa2518 100755
--- a/deploy/helm/streampark/templates/streampark.yml
+++ b/deploy/helm/streampark/templates/streampark.yml
@@ -56,6 +56,9 @@ spec:
             - name: {{ .Values.spec.name }}
               containerPort: {{ .Values.spec.containerPort }}
               protocol: TCP
+            - name: efs
+              containerPort: {{ .Values.spec.efsPort }}
+              protocol: TCP
           env:
             {{- toYaml .Values.spec.container.env | nindent 12 }}
           securityContext:
diff --git a/deploy/helm/streampark/values.yaml 
b/deploy/helm/streampark/values.yaml
index a8e439247..a81e7279e 100644
--- a/deploy/helm/streampark/values.yaml
+++ b/deploy/helm/streampark/values.yaml
@@ -54,6 +54,7 @@ spec:
 
   replicaCount: 1
   containerPort: 10000
+  efsPort: 10030
   name: rest
   affinity: { }
   ## Compute Resources required by this container. Cannot be updated.

Reply via email to