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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi @aleoli. Thanks for your PR! I am @adamjensenbot.
Make sure this PR appears in the liqo changelog, adding one of the following labels:
|
aleoli
force-pushed
the
aol/explicit-signaling
branch
from
July 2, 2021 12:32
1f90e60
to
b1a3986
Compare
aleoli
changed the title
[WIP] Resources Phase Explicit Signaling
Resources Phase Explicit Signaling
Jul 2, 2021
aleoli
changed the title
Resources Phase Explicit Signaling
[WIP] Resources Phase Explicit Signaling
Jul 2, 2021
aleoli
force-pushed
the
aol/explicit-signaling
branch
from
July 2, 2021 16:14
b1a3986
to
e6b36b7
Compare
aleoli
changed the title
[WIP] Resources Phase Explicit Signaling
Resources Phase Explicit Signaling
Jul 2, 2021
aleoli
changed the title
Resources Phase Explicit Signaling
[WIP] Resources Phase Explicit Signaling
Jul 5, 2021
aleoli
force-pushed
the
aol/explicit-signaling
branch
from
July 5, 2021 08:45
e6b36b7
to
c9f4198
Compare
aleoli
force-pushed
the
aol/explicit-signaling
branch
from
July 5, 2021 09:59
eced38e
to
24f23f2
Compare
aleoli
changed the title
[WIP] Resources Phase Explicit Signaling
Resources Phase Explicit Signaling
Jul 5, 2021
palexster
reviewed
Jul 5, 2021
internal/discovery/foreign-cluster-operator/foreign-cluster-controller.go
Show resolved
Hide resolved
palexster
reviewed
Jul 5, 2021
pkg/liqo-controller-manager/resourceoffer-controller/resourceoffer_controller_methods.go
Show resolved
Hide resolved
aleoli
force-pushed
the
aol/explicit-signaling
branch
2 times, most recently
from
July 5, 2021 12:54
4a21841
to
9f6054e
Compare
palexster
approved these changes
Jul 5, 2021
giorio94
approved these changes
Jul 5, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
pkg/liqo-controller-manager/resourceoffer-controller/resourceoffer_controller_methods.go
Outdated
Show resolved
Hide resolved
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.
aleoli
force-pushed
the
aol/explicit-signaling
branch
from
July 5, 2021 14:16
9f6054e
to
1c9f792
Compare
/merge |
adamjensenbot
added
the
merge-requested
Request bot merging (automatically managed)
label
Jul 5, 2021
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 resourceStatus
). 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?