You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by sj...@apache.org on 2021/12/15 21:12:46 UTC

[flink-statefun] branch master updated (f26c60b -> 9989275)

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

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


    from f26c60b  [FLINK-25308] Provide a custom remote module name
     add 9f6679d  [FLINK-25333] Manually set UIDs on router operator
     add 48ae529  [FLINK-25333] Disable auto uid generation and enable restoring from a savepoint with missing operators
     new 9989275  [hotfix] Add k8s HA to helm chart

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../statefun-e2e-tests-common/src/main/resources/flink-conf.yaml   | 7 +++++++
 .../flink/statefun/flink/core/translation/RouterTranslator.java    | 5 +++++
 tools/docker/flink-distribution-template/conf/flink-conf.yaml      | 7 +++++++
 tools/k8s/templates/config-map.yaml                                | 5 +++++
 tools/k8s/values.yaml                                              | 4 ++++
 5 files changed, 28 insertions(+)

[flink-statefun] 01/01: [hotfix] Add k8s HA to helm chart

Posted by sj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 99892751a60d31991161a097923fbd5ee08cb2eb
Author: sjwiesman <sj...@gmail.com>
AuthorDate: Wed Dec 15 13:34:10 2021 -0600

    [hotfix] Add k8s HA to helm chart
    
    This closes #279
---
 tools/k8s/templates/config-map.yaml | 3 +++
 tools/k8s/values.yaml               | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/tools/k8s/templates/config-map.yaml b/tools/k8s/templates/config-map.yaml
index f1bf89f..c96e1c5 100644
--- a/tools/k8s/templates/config-map.yaml
+++ b/tools/k8s/templates/config-map.yaml
@@ -41,6 +41,9 @@ data:
     parallelism.default: {{ .Values.worker.replicas }}
     pipeline.auto-generate-uids: false
     execution.savepoint.ignore-unclaimed-state: true
+    kubernetes.cluster-id: {{ .Values.ha.id }}
+    high-availability: org.apache.flink.kubernetes.highavailability.KubernetesHaServicesFactory
+    high-availability.storageDir: {{ .Values.ha.dir }
 
   log4j-console.properties: |+
     rootLogger.level = INFO
diff --git a/tools/k8s/values.yaml b/tools/k8s/values.yaml
index 6568daf..0d20c45 100644
--- a/tools/k8s/values.yaml
+++ b/tools/k8s/values.yaml
@@ -19,6 +19,10 @@ checkpoint:
   mode: EXACTLY_ONCE
   interval: 10sec
 
+ha:
+  id: statefun-application
+  dir: file:///ha-ir
+
 master:
   name: statefun-master
   image: statefun-application # replace with your image