It turns out that the latest flink:latest docker image is 5 days old, and
thus bug was fixed 4 days ago in the flink-docker github.
The problem is that the docker-entrypoint.sh script chains to jobmanager.sh
by saying "start-foreground cluster" where the "cluster" argument is
obsolete as of Flink 1.5.
I patched it with a sed command in the Kubernetes manifest, until the
updated docker image makes it way to the world.
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/