fix(helm): wrong savepoint and checkpoint s3 configs

This commit is contained in:
Mohamad Khani 2025-04-06 01:49:00 +03:30
parent 830e265162
commit 54008669cb
2 changed files with 4 additions and 6 deletions

View File

@ -20,14 +20,12 @@
kubernetes.cluster-id: {{ .Values.clusterId | default (print .Release.Name "-cluster") }}
execution.checkpointing.interval: {{ .Values.flink.checkpoint.interval }}
execution.checkpointing.mode: {{ .Values.flink.checkpoint.mode }}
state.checkpoints.dir: s3://{{ .Release.Name }}-minio:9000/checkpoints
state.checkpoints.dir: s3://flink/checkpoints/
state.backend.rocksdb.localdir: /opt/flink/rocksdb
high-availability.storageDir: /opt/flink/ha
state.savepoints.dir: s3://{{ .Release.Name }}-minio:9000/savepoints
state.savepoints.dir: s3://flink/savepoints/
state.backend.incremental: {{ .Values.flink.state.incremental }}
rest.profiling.enabled: true
s3.endpoint: http://{{ .Release.Name }}-minio:9000 # Use Kubernetes service name
s3.endpoint: http://{{ .Release.Name }}-minio:9000
s3.path.style.access: true
s3.fs.hadoop.impl: org.apache.hadoop.fs.s3a.S3AFileSystem # Keep for compatibility
fs.s3a.aws.credentials.provider: com.amazonaws.auth.DefaultAWSCredentialsProviderChain
{{- end }}

View File

@ -47,7 +47,7 @@ spec:
- name: FLINK_API_URL
value: {{ .Release.Name }}-flink-job-manager:8081
- name: SAVEPOINT_PATH
value: s3://{{ .Release.Name }}-minio:9000/savepoints
value: s3://flink/savepoints/
- name: NAMESPACE
value: "{{ .Release.Namespace }}"
- name: S3_ENDPOINT