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

VirtualNode: deletion-routine refactoring #1984

Merged

Conversation

cheina97
Copy link
Member

@cheina97 cheina97 commented Sep 6, 2023

Description

This PR refactors the deletion-routine based on kubernetes guidelines https://github.com/kubernetes/community/blob/master/contributors/devel/sig-api-machinery/controllers.md

@adamjensenbot
Copy link
Collaborator

Hi @cheina97. 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 (You can add the option test=true to launch the tests
    when the rebase operation is completed)
  • /merge: Merge this PR into the master branch
  • /build Build Liqo components
  • /test Launch the E2E and Unit tests
  • /hold, /unhold Add/remove the hold label to prevent merging with /merge

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

@pull-request-size pull-request-size bot added size/L and removed size/M labels Sep 6, 2023
@cheina97 cheina97 force-pushed the frc/deletionroutinerefactoring branch 6 times, most recently from d35c720 to f481cc2 Compare September 7, 2023 10:29
@cheina97
Copy link
Member Author

cheina97 commented Sep 7, 2023

https://github.com/cheina97/liqo/blob/5d6ee7a2bcba055d5cef88207f7480a43c9d1b27/pkg/liqo-controller-manager/virtualnode-controller/virtualkubelet.go#L167-L222

I'm not sure this is a good place for these functions. Do you think pkg/utils/virtualnode or pkg/vkMachinery could be better places?

@cheina97 cheina97 force-pushed the frc/deletionroutinerefactoring branch from b9df39a to 5d6ee7a Compare September 7, 2023 12:12
@cheina97
Copy link
Member Author

cheina97 commented Sep 7, 2023

/test

@cheina97 cheina97 marked this pull request as ready for review September 7, 2023 12:54
@cheina97 cheina97 added the kind/cleanup Refactoring code label Sep 7, 2023
@cheina97 cheina97 force-pushed the frc/deletionroutinerefactoring branch 3 times, most recently from b7410ba to 30f35d6 Compare September 8, 2023 14:04
@cheina97
Copy link
Member Author

cheina97 commented Sep 8, 2023

/rebase test=true

@cheina97 cheina97 force-pushed the frc/deletionroutinerefactoring branch 3 times, most recently from c93c2a5 to 98209a1 Compare September 8, 2023 16:20
@cheina97
Copy link
Member Author

/rebase test=true

@adamjensenbot adamjensenbot force-pushed the frc/deletionroutinerefactoring branch from 98209a1 to 58df128 Compare September 11, 2023 10:17
@cheina97 cheina97 force-pushed the frc/deletionroutinerefactoring branch 4 times, most recently from ecb9313 to b5ef0ed Compare September 11, 2023 10:33
@cheina97
Copy link
Member Author

/rebase test=true

@adamjensenbot adamjensenbot force-pushed the frc/deletionroutinerefactoring branch from b5ef0ed to 2ab3638 Compare September 11, 2023 13:17
@cheina97 cheina97 force-pushed the frc/deletionroutinerefactoring branch from 67ad421 to 38dec0b Compare September 12, 2023 12:16
@cheina97
Copy link
Member Author

cheina97 commented Sep 12, 2023

/rebase test=true

@adamjensenbot adamjensenbot force-pushed the frc/deletionroutinerefactoring branch from 38dec0b to cc4c3ff Compare September 12, 2023 12:17
@cheina97
Copy link
Member Author

/rebase test=true

1 similar comment
@cheina97
Copy link
Member Author

/rebase test=true

@adamjensenbot adamjensenbot force-pushed the frc/deletionroutinerefactoring branch from cc4c3ff to be6b64c Compare September 13, 2023 07:20
@cheina97
Copy link
Member Author

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Sep 13, 2023
@adamjensenbot adamjensenbot merged commit a930b4d into liqotech:master Sep 13, 2023
8 checks passed
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Sep 13, 2023
@cheina97 cheina97 deleted the frc/deletionroutinerefactoring branch November 14, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code size/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants