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

Resources Phase Explicit Signaling #725

Merged
merged 1 commit into from Jul 5, 2021
Merged

Conversation

aleoli
Copy link
Member

@aleoli aleoli commented Jul 2, 2021

Description

This pr allows peering-related resources (i.e. ResourceRequest and ResourceOffers) to have an explicit mechanism to indicate the desired state (Create os Delete) handled by the home cluster (in the resource Spec), and the observed state (Created od Deleted) handled by the remote cluster (in the resource Status). In this way, we are able the handle a graceful deletion of these resources and to have a graceful peering tear down. The VirtualKublet can now have the time required for a completed clean-up of the remote cluster.

How Has This Been Tested?

  • locally on KinD

@adamjensenbot
Copy link
Collaborator

Hi @aleoli. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch
  • /merge: Merge this PR into the master branch
  • /ok-to-test Enable testing for PRs with base on forks

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

@aleoli aleoli changed the title [WIP] Resources Phase Explicit Signaling Resources Phase Explicit Signaling Jul 2, 2021
@aleoli aleoli changed the title Resources Phase Explicit Signaling [WIP] Resources Phase Explicit Signaling Jul 2, 2021
@aleoli aleoli changed the title [WIP] Resources Phase Explicit Signaling Resources Phase Explicit Signaling Jul 2, 2021
@aleoli aleoli changed the title Resources Phase Explicit Signaling [WIP] Resources Phase Explicit Signaling Jul 5, 2021
@pull-request-size pull-request-size bot added size/XL and removed size/L labels Jul 5, 2021
@pull-request-size pull-request-size bot added size/L and removed size/XL labels Jul 5, 2021
@aleoli aleoli changed the title [WIP] Resources Phase Explicit Signaling Resources Phase Explicit Signaling Jul 5, 2021
@aleoli aleoli force-pushed the aol/explicit-signaling branch 2 times, most recently from 4a21841 to 9f6054e Compare July 5, 2021 12:54
Copy link
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

allows peering-related resources (i.e. ResourceRequest and ResourceOffers) to have an explicit mechanism to indicate the desired state (Create os Delete) handled by the home cluster, and the observed state (Created od Deleted) handled by the remote cluster. In this way, we are able the handle a graceful deletion of these resources and to have a graceful peering tear down. The VirtualKublet can now have the time required for a completed clean-up of the remote cluster.
@palexster
Copy link
Member

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Jul 5, 2021
@adamjensenbot adamjensenbot merged commit 5e2a5b5 into master Jul 5, 2021
@adamjensenbot adamjensenbot deleted the aol/explicit-signaling branch July 5, 2021 15:16
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants