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

Skip kubelet call to update container resource while there is an async update in progress in libvirt #54

Merged
merged 4 commits into from
Aug 31, 2020

Conversation

yb01
Copy link
Collaborator

@yb01 yb01 commented Aug 25, 2020

What is this PR

skip repeated calls from kubelet while an async resource update is in progress for a given container.

Why is it needed

given a case where plug/unplug and repeat cases. runtime could end up in unknown stage

Special not to CR

A few changes in this PR at high level. currently they are restraint to be a "bugfix" level of code change for 830

  1. an event handler for libvirt's async memory unplug/plug operations
  2. a config metadata based locking mechanism
  3. some minor code move for updating vm-runtime metadata.

Testing done

Add hoc patching tests

@yb01 yb01 merged commit 372270f into CentaurusInfra:master Aug 31, 2020
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.

2 participants