Yes. It is the by-design behavior. Because the pod template is only
applicable to the "pod", not other resources(e.g. deployment, configmap).

Currently, the JobManager pod is managed by deployment and the naked
TaskManager pods are managed by Flink ResourceManager.
This is the root cause which makes the difference.

Best,
Yang

ChangZhuo Chen (陳昌倬) <czc...@czchen.org> 于2021年6月15日周二 下午4:27写道:

> On Tue, Jun 15, 2021 at 04:22:07PM +0800, Yang Wang wrote:
> > The annotations, and labels in the pod template will only apply to the
> > JobManager pod, not the JobManager deployment.
>
> Thanks for the information.
>
> Is this behavior by design? In document, it looks like there is no
> different between jobmanager and taskmanager when handling annotations
> and labels [0].
>
>
> [0]
> https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/deployment/resource-providers/native_kubernetes/#pod-template
>
>
> --
> ChangZhuo Chen (陳昌倬) czchen@{czchen,debian}.org
> http://czchen.info/
> Key fingerprint = BA04 346D C2E1 FE63 C790  8793 CC65 B0CD EC27 5D5B
>

Reply via email to