zentol commented on a change in pull request #11245:
URL: https://github.com/apache/flink/pull/11245#discussion_r445462983
##########
File path: docs/ops/deployment/kubernetes.md
##########
@@ -262,7 +262,7 @@ spec:
spec:
containers:
- name: jobmanager
- image: flink:{% if site.is_stable
%}{{site.version}}-scala{{site.scala_version_suffix}}{% else %}latest{% endif %}
+ image: flink:{% if site.is_stable
%}{{site.version}}-scala{{site.scala_version_suffix}}{% else %}latest # The
'latest' tag contains the latest released version of Flink for a specific Scala
version which will mismatch with your application over time.{% endif %}
Review comment:
I think we should be way more explicit about this; scala users should
_never_ use `latest`; it is simply to easy to run into issues. If we release a
newer release, with scala 2.13 support we suddenly break everything.
I would explicitly phrase it like that; use it only if you are only using
java, otherwise select a specific Flink version with a matching scala version.
We should also look into providing a `latest_<scala.version>` tag to make
this easier for scala users.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]