This is an automated email from the ASF dual-hosted git repository. sjwiesman pushed a commit to branch release-1.13 in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.13 by this push: new db30add [FLINK-23059][docs] describe how to create ckp and savepoint dirs in operations playground docs db30add is described below commit db30addbc2a206e6bf079b734a28375e63bc9a08 Author: David Anderson <da...@alpinegizmo.com> AuthorDate: Mon Jun 21 12:49:14 2021 +0200 [FLINK-23059][docs] describe how to create ckp and savepoint dirs in operations playground docs This closes #16218 --- .../docs/try-flink/flink-operations-playground.md | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/content/docs/try-flink/flink-operations-playground.md b/docs/content/docs/try-flink/flink-operations-playground.md index d2ceaf7..65633be 100644 --- a/docs/content/docs/try-flink/flink-operations-playground.md +++ b/docs/content/docs/try-flink/flink-operations-playground.md @@ -93,13 +93,24 @@ We assume that you have [Docker](https://docs.docker.com/) (1.12+) and [docker-compose](https://docs.docker.com/compose/) (2.1+) installed on your machine. The required configuration files are available in the -[flink-playgrounds](https://github.com/apache/flink-playgrounds) repository. Check it out and spin -up the environment: +[flink-playgrounds](https://github.com/apache/flink-playgrounds) repository. First checkout the code and build the docker image: ```bash -git clone --branch release-{{ site.version_title }} https://github.com/apache/flink-playgrounds.git +git clone https://github.com/apache/flink-playgrounds.git cd flink-playgrounds/operations-playground docker-compose build +``` + +Then before starting the playground, create the checkpoint and savepoint directories on the Docker host machine (these volumes are mounted by the jobmanager and taskmanager, as specified in docker-compose.yaml): + +```bash +mkdir -p /tmp/flink-checkpoints-directory +mkdir -p /tmp/flink-savepoints-directory +``` + +Then start the playground: + +```bash docker-compose up -d ```