-
Notifications
You must be signed in to change notification settings - Fork 413
[helm] Add a helm chart for Fluss #779 #1685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Hi, @dreger1997. If you have time. Can you rebase your branch to main? |
…svc for coordinator and headless svc for tablet
… tested with Flink inside the cluster
Done |
@dreger1997 Pls adding license header for your new introduce yaml files. |
There was a problem hiding this 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/

apiVersion: v2 | ||
name: fluss | ||
description: A Helm chart for Kubernetes to deploy Apache Fluss Coordinator and Tablet servers | ||
appVersion: "0.7.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.8-SNAPSHOT
docker/helm/Chart.yaml
Outdated
|
||
apiVersion: v2 | ||
name: fluss | ||
description: A Helm chart for Kubernetes to deploy Apache Fluss Coordinator and Tablet servers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TabletServers
docker/helm/README.md
Outdated
|
||
# Fluss Helm Chart | ||
|
||
This chart deploys a Fluss cluster with a Coordinator and a StatefulSet of Tablets. |
There was a problem hiding this comment.
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 }}" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto. Need or not?
There was a problem hiding this comment.
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 }}" |
There was a problem hiding this comment.
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 }}
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.8-SNAPSHOT
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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 | ||
|
There was a problem hiding this comment.
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
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