Skip to content

Conversation

dreger1997
Copy link

@dreger1997 dreger1997 commented Sep 11, 2025

Purpose

Linked issue: close #779

Creating a V1 Draft for Helm-charts with Apache Fluss and external Zookeeper

Brief change log

Tests

API and Format

Documentation

This is currently not working with CLIENTS external to the K8s Cluster

@dreger1997 dreger1997 changed the title First helm draft with statefulset tablet, coordinator, configmap and … [helm] Add a helm chart for Fluss #779 Sep 11, 2025
@swuferhong
Copy link
Contributor

Hi, @dreger1997. If you have time. Can you rebase your branch to main?

@dreger1997
Copy link
Author

Hi, @dreger1997. If you have time. Can you rebase your branch to main?

Done

@swuferhong
Copy link
Contributor

@dreger1997 Pls adding license header for your new introduce yaml files.

Copy link
Contributor

@swuferhong swuferhong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @dreger1997. Thanks for your great work. I have successfully launched Fluss in my local environment, but I feel the documentation is still insufficient. Can we provide an end-to-end guide that covers how to install it, what components are required, how to connect with Flink and create tables? Something similar to the following documentation: https://ricardo-aires.github.io/helm-charts/charts/kafka/

image

apiVersion: v2
name: fluss
description: A Helm chart for Kubernetes to deploy Apache Fluss Coordinator and Tablet servers
appVersion: "0.7.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.8-SNAPSHOT


apiVersion: v2
name: fluss
description: A Helm chart for Kubernetes to deploy Apache Fluss Coordinator and Tablet servers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TabletServers


# Fluss Helm Chart

This chart deploys a Fluss cluster with a Coordinator and a StatefulSet of Tablets.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TabletServer

spec:
containers:
- name: {{ .Chart.Name }}-coordinator
image: "{{.Values.image.repository}}:{{ .Values.image.tag }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add {{.Values.image.registry}}, and change this to {{.Values.image.registry}}/{{.Values.image.repository}}:{{ .Values.image.tag }}

echo "advertised.listeners: CLIENT://coordinator-server-${FLUSS_SERVER_ID}.coordinator-server-hs.default.svc.cluster.local:{{ .Values.appConfig.externalPort }}" >> $FLUSS_HOME/conf/server.yaml && \

bin/coordinator-server.sh start-foreground
# advertised.listeners: CLIENT://$(POD_NAME).fluss-tablet-hs.default.svc.cluster.local:9124
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need or not?

echo "bind.listeners: INTERNAL://${POD_IP}:{{ .Values.appConfig.internalPort }}, CLIENT://0.0.0.0:{{ .Values.appConfig.externalPort }}" >> $FLUSS_HOME/conf/server.yaml && \
echo "advertised.listeners: CLIENT://tablet-server-${FLUSS_SERVER_ID}.tablet-server-hs.default.svc.cluster.local:{{ .Values.appConfig.externalPort }}" >> $FLUSS_HOME/conf/server.yaml && \
bin/tablet-server.sh start-foreground
# advertised.listeners: CLIENT://$(POD_NAME).fluss-tablet-hs.default.svc.cluster.local:9124
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto. Need or not?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cleaned it up

spec:
containers:
- name: {{ .Chart.Name }}-tablet
image: "{{.Values.image.repository}}:{{ .Values.image.tag }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto. Do we need to add {{.Values.image.registry}}, and change this to {{.Values.image.registry}}/{{.Values.image.repository}}:{{ .Values.image.tag }}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my comment below to the registry


image:
repository: fluss/fluss
tag: "0.7.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0.8-SNAPSHOT

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://hub.docker.com/r/fluss/fluss the latest Fluss image is 0.7

# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

image:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add image:registry?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we do not need it as it takes it from the Docker Hub

--set replicaCount=3 \
--set auth.enabled=false \
--set persistence.size=5Gi

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add more contents in Readme to introduce how to build a fluss cluster and operate by fluss in helm charts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a helm chart for Fluss
3 participants