Hi all,

We publish every release to the Docker Official Image "flink" and to
"apache/flink". apache/flink was added in 1.12 [1] because the
official image PR took 51 days, and our docs still say it exists "in case
of delays in the review process by Docker". That no longer happens: since
2022 our official-images PRs were merged within approx a day, 
with one exception being a week. 

I think we should keep both, but for different reasons than we document:
- The native Kubernetes default image is apache/flink since 1.12, so every
  released client points there.
- Pulls from apache/flink aren't rate limited, pulls from flink are.
- Docker rebuilds the official image when the base image changes. For the
  recent JDK CVE, flink had fixed amd64 images on 11-20 without us doing
  anything, apache/flink on 11-23 after a manual run.

What I'd change:
1. Push apache/flink from the flink-docker GitHub Actions workflow with
   Infra-provided Docker Hub secrets, like Kafka, Spark and Airflow do.
   That removes the dependency on the few people with a Docker Hub seat,
   which has blocked release managers more than once.
2. Open the official-images PR before the release announcement, like we
   already require for apache/flink.
3. Update the docs to explain why both exist, and fix
   kubernetes.container.image.ref, whose description says flink: while the
   default is apache/flink.

Thoughts?

Martijn

[1] https://issues.apache.org/jira/browse/FLINK-20632

Reply via email to