Examples for how to use the Flink Docker images in a variety of ways
Switch branches/tags
Nothing to show
Clone or download
patricklucas Merge pull request #7 from VinceMD/fix-readme-ha-settings
Fix the Readme, showing how to pass additional options to Flink config
Latest commit 90f0147 Apr 24, 2018

README.md

Flink Docker Examples

NOTE: These resources are in a draft state, and should be used for reference only.

Examples for how to use the Flink Docker images in a variety of ways.

Docker Compose

Use the Docker Compose config in this repo to create a local Flink cluster.

See the docs for information on its usage.

Flink Helm Chart

Build the Helm archive:

$ helm package helm/flink/

Deploy a non-HA Flink cluster with a single taskmanager:

$ helm install --name my-cluster flink*.tgz

Deploy a non-HA Flink cluster with three taskmanagers:

$ helm install --name my-cluster --set flink.num_taskmanagers=3 flink*.tgz

Deploy an HA Flink cluster with three taskmanagers:

$ cat > values.yaml <<EOF
flink:
  num_taskmanagers: 3
  config: |
    zookeeper_quorum: <zookeeper quorum string>
    state_s3_bucket: <s3 bucket>
    aws_access_key_id: <aws access key>
    aws_secret_access_key: <aws secret key>
EOF

$ helm install --name my-cluster --values values.yaml flink*.tgz

Note that the AWS access keys may not be required if you use a role (recommended). Anything under "config: |" will be added to the Flink config file. It's not limited to HA settings.