dhi.io/flink-kubernetes-operator
Kubernetes operator for managing Apache Flink applications and their lifecycle.
All examples in this guide use the public image. If you've mirrored the repository for your own use, update your commands to reference the mirrored image instead of the public one.
For example:
dhi.io/flink-kubernetes-operator:<tag><your-namespace>/dhi-flink-kubernetes-operator:<tag>For the examples, you may need to authenticate to the registry to pull the images.
This Docker Hardened Apache Flink Kubernetes Operator image includes:
/opt/flink/plugins/opt/flink/log/docker-entrypoint.sh scriptReplace <tag> with the image variant you want to run, such as 1, 1.15, 1.15.0, or 1-dev.
Use the default command to see the supported entrypoint modes:
docker run --rm dhi.io/flink-kubernetes-operator:<tag>
Start the operator process:
docker run --rm dhi.io/flink-kubernetes-operator:<tag> operator
Start the admission webhook process:
docker run --rm dhi.io/flink-kubernetes-operator:<tag> webhook
For Kubernetes deployments, follow the official Flink Kubernetes Operator installation guide and replace the upstream image reference with the Docker Hardened Image reference.
Docker Hardened Images come in different variants depending on their intended use. Image variants are identified by their tag.
flink user and include only
the runtime dependencies needed by the upstream entrypoint and Java application.dev in the tag and are intended for development, debugging, or use as an intermediate
stage in a multi-stage Dockerfile. They run as root and include a shell and package manager.FIPS variants are not currently published for this image.
To migrate to the Docker Hardened Apache Flink Kubernetes Operator image:
1 or 1.15.0.dhi.io/flink-kubernetes-operator:<tag>.operator or webhook) and operator environment variables unless your deployment
intentionally customizes them.dev variant or Docker Debug for troubleshooting. The runtime image does not include a package manager.The image preserves upstream's /docker-entrypoint.sh, default command help, and entrypoint modes operator and
webhook.
The image runs as the nonroot flink user with uid/gid 9999, matching the upstream image. Ensure mounted
configuration, certificates, and log paths are readable by that user.