You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Aitozi (Jira)" <ji...@apache.org> on 2022/06/07 02:11:00 UTC

[jira] [Created] (FLINK-27925) Avoid to create watcher without the resourceVersion

Aitozi created FLINK-27925:
------------------------------

             Summary: Avoid to create watcher without the resourceVersion
                 Key: FLINK-27925
                 URL: https://issues.apache.org/jira/browse/FLINK-27925
             Project: Flink
          Issue Type: Improvement
          Components: Deployment / Kubernetes
            Reporter: Aitozi


Currently, we create the watcher in KubernetesResourceManager. But it do not pass the resourceVersion parameter, it will read from the etcd. It will bring the burden to the etcd in large scale cluster (which have been seen in our internal k8s cluster). More detail can be found [here|https://kubernetes.io/docs/reference/using-api/api-concepts/#the-resourceversion-parameter] 

I think we could use the informer to improve it (which will spawn a list-watch and maintain the resourceVersion internally)



--
This message was sent by Atlassian Jira
(v8.20.7#820007)