On Fri, Jun 11, 2021 at 11:19:09PM +0800, Yang Wang wrote: > Could you please share your pod template and the value of > kubernetes.jobmanager.annotations? > > Usually the annotations of pod template and flink config options will be > merged. And the flink config > options has higher priority if you are specifying same name annotation. > > I have verified in minikube and it could take effect as expected.
Hi,
There are other finding for this issue:
* For jobanager:
* annotations, and labels in pod template do not work.
* annotations, and labels in -Dkubernetes.jobmanager.* work.
* For taskmanager:
* annotations, and labels in pod template work
The following is jobmanager pod template:
apiVersion: batch/v1
kind: Pod
metadata:
labels:
app: jobmanager
helm.sh/chart: <censored>
app.kubernetes.io/name: <censored>
app.kubernetes.io/instance: <censored>
app.kubernetes.io/version: <censored>
app.kubernetes.io/managed-by: Helm
annotations:
rt.prometheus.io/scrape: 'true'
rt.prometheus.io/path: '/'
rt.prometheus.io/port: '9249'
The following is pod created as jobmanager:
Name: <censored>
Namespace: <censored>
Priority: 2000000
Priority Class Name: medium
Node: <censored>
Start Time: Fri, 11 Jun 2021 23:38:52 +0800
Labels: app=<censored>
component=jobmanager
pod-template-hash=55846fd8f7
type=flink-native-kubernetes
Annotations: <none>
--
ChangZhuo Chen (陳昌倬) czchen@{czchen,debian}.org
http://czchen.info/
Key fingerprint = BA04 346D C2E1 FE63 C790 8793 CC65 B0CD EC27 5D5B
signature.asc
Description: PGP signature
