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

List all cleanup changes we need to apply to KEB when we will work with Lifecycle Manager only #2498

Closed
2 tasks done
PK85 opened this issue Feb 20, 2023 · 10 comments
Closed
2 tasks done
Assignees
Labels
2023-Q3 Planned for Q3 2023 area/control-plane Related to all activities around Kyma Control Plane size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Comments

@PK85
Copy link
Contributor

PK85 commented Feb 20, 2023

Description

Soon or later all modules will be supported only via Lifecycle Manager. This ticket is about preparing a list of tasks that we need to remove from KEB code, e.g. overrides, kyma version etc

AC

  • 1) Find all features in the KEB that will be abandoned when we will use Lifecycle Manager only
  • 2) Prepare tasks ready to be taken in the next sprints.

Timeboxed to Size/S.

@PK85 PK85 added 2023-Q1 Planned for Q1 2023 area/control-plane Related to all activities around Kyma Control Plane size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 20, 2023
@kyma-bot
Copy link
Contributor

This issue or PR has been automatically marked as stale due to the lack of recent activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Close this issue or PR with /close

If you think that I work incorrectly, kindly raise an issue with the problem.

/lifecycle stale

@kyma-bot kyma-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 21, 2023
@kyma-bot
Copy link
Contributor

This issue or PR has been automatically closed due to the lack of activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle stale

If you think that I work incorrectly, kindly raise an issue with the problem.

/close

@kyma-bot
Copy link
Contributor

@kyma-bot: Closing this issue.

In response to this:

This issue or PR has been automatically closed due to the lack of activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle stale

If you think that I work incorrectly, kindly raise an issue with the problem.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@piotrmiskiewicz piotrmiskiewicz self-assigned this May 31, 2023
@pbochynski pbochynski added 2023-Q2 Planned for Q2 2023 and removed 2023-Q1 Planned for Q1 2023 labels Jun 5, 2023
@PK85 PK85 added 2023-Q3 Planned for Q3 2023 and removed 2023-Q2 Planned for Q2 2023 labels Jun 12, 2023
@kyma-bot
Copy link
Contributor

This issue or PR has been automatically closed due to the lack of activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle stale

If you think that I work incorrectly, kindly raise an issue with the problem.

/close

@kyma-bot
Copy link
Contributor

@kyma-bot: Closing this issue.

In response to this:

This issue or PR has been automatically closed due to the lack of activity.
Thank you for your contributions.

This bot triages issues and PRs according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 7d of inactivity since lifecycle/stale was applied, the issue is closed

You can:

  • Reopen this issue or PR with /reopen
  • Mark this issue or PR as fresh with /remove-lifecycle stale

If you think that I work incorrectly, kindly raise an issue with the problem.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@piotrmiskiewicz
Copy link
Member

piotrmiskiewicz commented Jun 20, 2023

LM manager does not get any overrides, additional components and Kyma Version.

Functionality, which could be removed

Steps to remove (overrides and Reconciler):

  1. Provisioning:
  • OverridesFromSecretsAndConfigStep (overrides)
  • BTPOperatorOverridesStep (overrides), note: check if cluster ID is needed
  • CreateClusterConfiguration (reconciler)
  • CheckClusterConfigurationStep (reconciler)
  1. Update:
  • BTPOperatorOverridesStep
  • ApplyReconcilerConfigurationStep
  • CheckReconcilerState
  1. Deprovision
  • DeregisterClusterStep
  • CheckClusterDeregistration
  1. Upgrade Kyma
  • BTPOperatorOverridesStep
  • OverridesFromSecretsAndConfigStep
  • ApplyClusterConfigurationStep
  • CheckClusterConfigurationStep

Steps to modify:

provisioning/initialisation.go - remove disabling BTP component code

Packages to remove

internal/runtimeoverrides
internal/version
internal/reconciler

Remove reconciler deps

Remove any dependency to github.com/kyma-incubator/reconciler/pkg/keb

RuntimeInput cleanup

  1. Remove the following methods:
  • EnableOptionalComponent
  • DisableOptionalComponent
  • SetOverrides, AppendOverrides
  • AppendGlobalOverrides
  • CreateClusterConfiguration
  1. Remove the following fields: overrides, globalOverrides, componentsDisabler, enabledOptionalComponents

InputBuilderFactory cleanup

Remove the following fields (and corresponding methods): optComponentsSvc, componentsProvider, disabledComponentsProvider

@piotrmiskiewicz
Copy link
Member

piotrmiskiewicz commented Jun 20, 2023

Tasks:

  • Remove (or modify) unnecessary steps (listerd in the previous comment)
  • Cleanup RuntimeInput, InputBuilderFactory
  • Remove unused packages, make sure reconciler dependency is not used

@piotrmiskiewicz
Copy link
Member

piotrmiskiewicz commented Jun 20, 2023

Question about Kyma Version:
After the LM integration we do not need this, but we can use it for testing some new features (like preview plan)
Question: what about setting version per subaccount/globalaccount ?

@ralikio
Copy link
Member

ralikio commented Jun 20, 2023

We are removing Kyma version completely.

@PK85 PK85 removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 21, 2023
@szwedm
Copy link
Contributor

szwedm commented Jun 29, 2023

@piotrmiskiewicz nice summary, I went through the code and spotted pretty much the same places for changes/cleanup. If we drop Kyma versions then we can still prepare configurations per plan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2023-Q3 Planned for Q3 2023 area/control-plane Related to all activities around Kyma Control Plane size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

No branches or pull requests

6 participants