Closed pbochynski closed 8 months ago
Hey @pbochynski, the points 1-3 are clear and we've already agreed that it is the desired behaviour. I need some clarification regarding the deletion process of the modules.
From what I understand, the module that is listed in the Kyma CR (is managed) will have two deletion modes:
If yes - it would be great if you could expand point 4 with both of these options. It would be better to have it explicitly listed instead of having to deduce it from the diagram. 🙂
As a side note about the current implementation - right now, the strategy for the modules is in the Kyma CR modules list, which means that removing a module from Kyma CR also removes the information on which deletion strategy should be used. I guess we would need to move that somewhere else (replicate it to the status perhaps?).
What I was also worried about was the scenario in which:
What do you think about such a case? To me, this is a corner-case scenario, but I suppose that at some point it will be a support case that we need to solve.
@janmedrek I extended point no 4 about deletion with both strategies. The downgrade protection scenario you explained does not work well right now. I have a cluster that cannot be upgraded when I did the upgrade - downgrade - upgrade sequence. I think what really matters is the operator manager version, and KLM should compare the actual version (running in the SKR right now) with the one that is supposed to be installed from the release channel. This way it will work in any scenario - with/without KLM.
What about having a reset or panic button to restore a given cluster modules to the initial set of these ?
What about having a reset or panic button to restore a given cluster modules to the initial set of these ?
We can mark default modules in the way people can recognize them in the UI. Anyway if you don't know what you want you can install all of them :)
Accepted.
Created on 2023-12-18 by Piotr Bochynski (@pbochynski )
Decision log
Context
Modularization of Kyma components is completed. Now ech module release contains 2 artifacts:
These 2 artifacts can be installed directly by the user in any kubernetes cluster using
kubectl apply
command. Users that have access to the SAP Kyma Runtime (SKR) can decide to get the selected modules as a managed software, by adding the module name to the spec of Kyma custom resource in their SKR cluster. When module is listed in the Kyma CR, the central meta-operator called Kyma Lifecycle Manager (KLM) takes care of installing and upgrading the module operator to the version assigned to the preferred release channel.Decision
Following improvements are proposed to simplify and clarify module management domain in Kyma.
Consequences