You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tz...@apache.org on 2020/09/01 10:22:20 UTC

[flink-statefun] branch master updated: [hotfix] [k8s] Remove restart-strategy from values.yaml

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

tzulitai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-statefun.git


The following commit(s) were added to refs/heads/master by this push:
     new 2fee6d7  [hotfix] [k8s] Remove restart-strategy from values.yaml
2fee6d7 is described below

commit 2fee6d7517c346a8f06de029af913cbcc2427140
Author: Tzu-Li (Gordon) Tai <tz...@apache.org>
AuthorDate: Tue Sep 1 18:17:49 2020 +0800

    [hotfix] [k8s] Remove restart-strategy from values.yaml
---
 tools/k8s/templates/config-map.yaml | 6 +++---
 tools/k8s/values.yaml               | 5 -----
 2 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/tools/k8s/templates/config-map.yaml b/tools/k8s/templates/config-map.yaml
index 0a41599..c5caba8 100644
--- a/tools/k8s/templates/config-map.yaml
+++ b/tools/k8s/templates/config-map.yaml
@@ -33,9 +33,9 @@ data:
     state.backend.incremental: true
     execution.checkpointing.interval: {{ .Values.checkpoint.interval }}
     execution.checkpointing.mode: {{ .Values.checkpoint.mode }}
-    restart-strategy: {{ .Values.restart-strategy.mode }}
-    restart-strategy.fixed-delay.attempts: {{ .Values.restart-strategy.fixed_delay_attempts }}
-    restart-strategy.fixed-delay.delay: {{ .Values.restart-strategy.fixed_delay_duration }}
+    restart-strategy: fixed-delay
+    restart-strategy.fixed-delay.attempts: 2147483647
+    restart-strategy.fixed-delay.delay: 1sec
     jobmanager.memory.process.size: {{ .Values.master.jvm_mem }}
     taskmanager.memory.process.size: {{ .Values.worker.jvm_mem }}
     parallelism.default: {{ .Values.worker.replicas }}
diff --git a/tools/k8s/values.yaml b/tools/k8s/values.yaml
index 5364b3f..112ff80 100644
--- a/tools/k8s/values.yaml
+++ b/tools/k8s/values.yaml
@@ -19,11 +19,6 @@ checkpoint:
   mode: EXACTLY_ONCE
   interval: 10sec
 
-restart-strategy:
-  mode: fixed-delay
-  fixed_delay_attempts: 2147483647
-  fixed_delay_duration: 1sec
-
 master:
   name: statefun-master
   image: statefun-application # replace with your image