Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request]Improve pod eviction policy during node heartbeat lost #2196

Open
rambohe-ch opened this issue Nov 20, 2024 · 1 comment · May be fixed by #2201
Open

[feature request]Improve pod eviction policy during node heartbeat lost #2196

rambohe-ch opened this issue Nov 20, 2024 · 1 comment · May be fixed by #2201
Labels
kind/feature kind/feature

Comments

@rambohe-ch
Copy link
Member

What would you like to be added:
In the proposal: https://github.com/openyurtio/openyurt/blob/master/docs/proposals/20240929-enhancing-edge-autonomy.md#executing-pod-eviction-during-node-failures

Pod eviction policy during node heartbeat host should be improved. A new node annotation named node.openyurt.io/autonomy-duration will be added to specify autonomy duration. That means pods will not be evicted when heartbeat lost duration is under specified autonomy duration. otherwise, pods will be evicted when heartbeat lost duration exceeds specified autonomy duration.

The following two controllers in yurt-manager should be revised to improve pod eviction policy.

  1. NodeLifeCycle: pods on the node with node.openyurt.io/autonomy-duration annotation should not be marked as not ready when node is not ready.

  2. PodBinding: configure PodTolerationSeconds in terms of node node.openyurt.io/autonomy-duration annotation setting.

By the way, in order to keep consistency with the old node autonomy setting, we should keep node.beta.openyurt.io/autonomy annotation currently, and deprecated in future versions.

others
/kind feature

@rambohe-ch rambohe-ch added the kind/feature kind/feature label Nov 20, 2024
@tnsimon
Copy link

tnsimon commented Nov 21, 2024

/assign @tnsimon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature kind/feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants