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

agent,plugin: Remove metrics from AgentRequests #1145

Closed
wants to merge 1 commit into from

Conversation

sharnoff
Copy link
Member

@sharnoff sharnoff commented Nov 18, 2024

AFAICT is a requirement for #995 — otherwise we need to continue updating every pod regularly, which may overload etcd. In the longer term, we may wish to have the scheduler fetch its own metrics, e.g. via the metrics API 1 2. In the meantime, this PR implements a metric-less approach for prioritizing live migrating by preferring to migrate the older pods on a node, with the intent being that this will naturally be somewhat fair so that individual VMs are not migrated too much.

Notes for review: This PR currently builds upon #1143 and #1144. Only the final commit in this PR (e385e40) is the actual intended change here.

Also, I think the other PRs are probably more clearly worthwhile than this one — I'm happy to leave this as a draft until I have something building on it.

Copy link

github-actions bot commented Nov 18, 2024

No changes to the coverage.

HTML Report

Click to open

This is a requirement for the stateless scheduler work -- otherwise we
need to continue updating every pod regularly, which may overload etcd.
@sharnoff sharnoff force-pushed the sharnoff/rm-AgentRequests.metrics branch from e385e40 to 095ab34 Compare November 19, 2024 00:12
@sharnoff
Copy link
Member Author

I thought this was required for #995, but seems like it's not (see #1163). Closing.

@sharnoff sharnoff closed this Dec 16, 2024
@sharnoff sharnoff deleted the sharnoff/rm-AgentRequests.metrics branch December 16, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant