[ 
https://issues.apache.org/jira/browse/FLINK-24951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446253#comment-17446253
 ] 

Yang Wang commented on FLINK-24951:
-----------------------------------

I am afraid some old K8s version does not support bookmark and not pretty sure 
about what will happen.

Bookmark[1] could really help with decreasing the "too old resource version" 
for TaskManager pods watching. Because there are no changes of these 
TaskManager pods after launched successfully.

If there's no compatibility issues, I am in favor of enabling the bookmark by 
default.

 

[1]. https://stackoverflow.com/questions/66080942/what-k8s-bookmark-solves

 

> Allow watch bookmarks to mitigate frequent watcher rebuilding
> -------------------------------------------------------------
>
>                 Key: FLINK-24951
>                 URL: https://issues.apache.org/jira/browse/FLINK-24951
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.15.0
>            Reporter: Yangze Guo
>            Priority: Major
>             Fix For: 1.15.0
>
>
> In some production environments, there are massive pods that create and 
> delete. Thus the global resource version is updated very quickly and may 
> cause frequent watcher rebuilding because of "too old resource version". To 
> avoid this, K8s provide a Bookmark mechanism[1].
> I propose to enable bookmark by default
> [1] 
> https://kubernetes.io/docs/reference/using-api/api-concepts/#watch-bookmarks



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to