You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by ca...@apache.org on 2023/06/01 16:41:46 UTC

[linkis] branch dev-1.4.0-integration-test2 updated: update yaml

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

casion pushed a commit to branch dev-1.4.0-integration-test2
in repository https://gitbox.apache.org/repos/asf/linkis.git


The following commit(s) were added to refs/heads/dev-1.4.0-integration-test2 by this push:
     new c2ee0a5e9 update yaml
c2ee0a5e9 is described below

commit c2ee0a5e96822e222f52ee6522918317fcf76fe9
Author: casionone <ca...@gmail.com>
AuthorDate: Fri Jun 2 00:41:29 2023 +0800

    update yaml
---
 .../charts/linkis/templates/configmap-linkis-config.yaml     | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/linkis-dist/helm/charts/linkis/templates/configmap-linkis-config.yaml b/linkis-dist/helm/charts/linkis/templates/configmap-linkis-config.yaml
index f75a58f34..19389bbfe 100644
--- a/linkis-dist/helm/charts/linkis/templates/configmap-linkis-config.yaml
+++ b/linkis-dist/helm/charts/linkis/templates/configmap-linkis-config.yaml
@@ -80,9 +80,13 @@ data:
     eureka:
       instance:
         prefer-ip-address: true
+        #instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}
+        lease-renewal-interval-in-seconds: 4
+        lease-expiration-duration-in-seconds: 12
       client:
         serviceUrl:
           defaultZone: {{- include "linkis.registration.url" . | quote | indent 1 }}
+        registry-fetch-interval-seconds: 8
     management:
       endpoints:
         web:
@@ -118,8 +122,8 @@ data:
       port: {{ .Values.mgEureka.port }}
     eureka:
       instance:
-        hostname: localhost
         preferIpAddress: true
+        hostname: localhost
       client:
         register-with-eureka: false
         fetch-registry: false
@@ -175,7 +179,11 @@ data:
     wds.linkis.server.version=v1
     ##spring conf
     wds.linkis.gateway.url={{- include "linkis.gateway.url" . }}
-    wds.linkis.eureka.defaultZone={{- include "linkis.registration.url" . }}
+
+    wds.linkis.multiple.yarn.cluster=false
+    linkis.discovery.prefer-ip-address=false
+    linkis.discovery.server-address={{- include "linkis.registration.url" . }}
+
     ##mybatis
     wds.linkis.server.mybatis.datasource.url={{- include "linkis.datasource.url" . }}
     wds.linkis.server.mybatis.datasource.username={{ .Values.linkis.datasource.username }}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org