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
[GEP-7] Adds a DeployMigrateWaiter component to manage containerruntimes #2762
[GEP-7] Adds a DeployMigrateWaiter component to manage containerruntimes #2762
Conversation
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.
A couple of suggestions from me.
pkg/operation/botanist/extensions/containerruntime/containerruntime.go
Outdated
Show resolved
Hide resolved
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.
I just had a rough, high-level view, @danielfoehrKn please have a (more detailed) look as well
/invite @danielfoehrKn
/assign @danielfoehrKn @swilen-iwanow
pkg/operation/botanist/extensions/containerruntime/containerruntime.go
Outdated
Show resolved
Hide resolved
pkg/operation/botanist/extensions/containerruntime/containerruntime.go
Outdated
Show resolved
Hide resolved
pkg/operation/botanist/extensions/containerruntime/containerruntime.go
Outdated
Show resolved
Hide resolved
pkg/operation/botanist/extensions/containerruntime/containerruntime.go
Outdated
Show resolved
Hide resolved
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.
seems to be working fine, though did not test the actual migration.
Thanks also for refactoring the common library.
pkg/operation/botanist/extensions/containerruntime/containerruntime.go
Outdated
Show resolved
Hide resolved
bc9acc7
to
b8f2510
Compare
Added a commit fixing the review comments @rfranzke @swilen-iwanow @danielfoehrKn could you have another look. If everything is ok I will squash the commits. |
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 from my side
/needs second-opinion
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
b8f2510
to
e1a8b73
Compare
How to categorize this PR?
/area control-plane
/area control-plane-migration
/kind enhancement
/priority normal
What this PR does / why we need it:
This PR Refactors the deployment of ContainerRuntime resources and adopts the DeployMigrateWaiter functionality so that ContainerRuntime CRs can be deployed, destroyed, migrated and restored.
Previously the state of ContainerRuntime CRs weren't annotated with the
gardenr.cloud/operation=restore
annotation and their state wasn't properly added.Which issue(s) this PR fixes:
part of #1631
Special notes for your reviewer:
Executed the following tests with the gvisor extension:
Release note: