Apache Flink cluster deployment on Docker using Docker Compose
summary
The session shows how to build Flink Docker images from the flink contrib/dockerflink repo and run a local cluster inside VirtualBox/Ubuntu 14.04 using docker build on flink contrib/dockerflink, then start containers with explicit port mappings and use docker exec to inspect containers. It demonstrates submitting the WordCount example (writes results to /tmp), using docker-compose scale taskmanager to spin up multiple task managers (demo scales to three), and pushing images with cf ic to IBM Bluemix (free tier supplies two public IPs). Minor gotchas: upgrade Docker to avoid auth token failures and strip an Apache header that breaks shell scripts.
AI-written summary · about
chapters (18)
- 0:00Introduction and speaker background
- 1:13Why use Docker with Flink
- 3:40Docker basics and virtualization
- 5:22IBM Bluemix cloud overview
- 8:11Setting up Ubuntu in VirtualBox
- 10:16Installing Docker and Flink
- 13:04Dockerfiles and image building
- 15:57Running Flink job manager in Docker
- 19:47Exploring the Flink container
- 21:45Submitting a Flink job example
- 25:04Building Docker images from source
- 26:31Linking containers and environment variables
- 28:57Troubleshooting Docker setup issues
- 29:59Running Flink cluster with task manager
- 30:21Docker Compose for Flink cluster
- 33:12Deploying to IBM Bluemix cloud
- 36:47Bluemix setup and deployment steps
- 38:51Summary and Q&A
