-
Notifications
You must be signed in to change notification settings - Fork 30
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
Delete modes for modules #1211
Comments
In my opinion force delete should be executed by the user using UI/CLI. User should be informed about the list of managed resources that will be deleted to make a conscious decision. The only situation where force deletion can be done without user interaction should be Kyma runtime deprovisioning. But that part can be done by a separate process. |
When it comes to determining which resources are "managed" there are two approaches:
The second option requires a bit more effort in the implementation part, but in the end - provides a simpler CRD design. |
Issue for "unmanaging" the modules: #1427 |
Acceptance Criteria for EPIC:
Timebox: 2 Days |
We agreed on the following:
|
@janmedrek , I think this epic can be converted together with that "unmanaging" the modules: #1427. Basically, this "Ignore" mode is regarding how KLM deal with those modules switch by user from "managed" module to "unmanaged", right? strictly speaking, it's not deleting, for deleting module, KLM should always use blocking mode. Then I aligned with your proposal, introducing Pros:
|
@janmedrek, regarding Default CR Strategy, the
To make it clear, current Please create one issue related to this problem, and clarify following questions:
|
@ruanxin thanks for the insights. From that point of view, it does not make sense to keep the current "ignore" strategy. |
Description
Kyma Lifecycle Manager should support two different cases for the deletion of modules:
This supports use cases mentioned in this proposal, such as cross-use of OS and managed modules, adapting configuration and the cleanup behaviour desired by the user.
The majority of the scenarios depend on #963 as information on which the module manages resources is needed.
As for the detailed behaviour of the deletion modes:
This should be done on the per-module level, different modules in one Kyma should be able to have different deletion modes.
Example:
Reasons
With the reasoning behind kyma-project/community#870, there comes a requirement to adapt to different use cases for the Kyma usages. We need to support different scenarios of cross-use of OS and managed modules, configurations and cleanups.
The deletion logic gets convoluted and it would be desired to split it into three different, transparent modes.use cases
Acceptance Criteria
The text was updated successfully, but these errors were encountered: