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

Compass Manager - prepare migration plan for moving from the architecture based on the Provisioner #12

Closed
3 tasks done
akgalwas opened this issue May 18, 2023 · 4 comments
Assignees
Labels
area/application-connector Issues or PRs related to application connectivity

Comments

@akgalwas
Copy link
Contributor

akgalwas commented May 18, 2023

In the current architecture the Provisioner is responsible for registering Runtimes and preparing Config Map for Compass Runtime Agent. There is a need to prepare a detailed plan how to switch from the current architecture to the new one based on the Compass Manager.

Cover the following:

  • What will be the phases of migration?
  • Would there be a need to distinguish Kyma resources representing new and migrated Runtimes? Would KEB need to behave differently?
  • Consider whether we need to perform any steps in a maintenance window?
@akgalwas akgalwas added the area/application-connector Issues or PRs related to application connectivity label May 18, 2023
@akgalwas akgalwas self-assigned this May 18, 2023
@akgalwas akgalwas changed the title Prepare migration plan for moving from the architecture based on Provisioner to Compass Manager Prepare migration plan for moving from the architecture based on the Provisioner to the Compass Manager May 18, 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 Aug 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.

@akgalwas akgalwas reopened this Sep 13, 2023
@akgalwas
Copy link
Contributor Author

akgalwas commented Sep 14, 2023

There are the following assumptions concerting the Compass Manager Operator:

  • it watches Kyma resource
  • it should start registration if Application Connector module is enabled
  • it should handle registration, and configuration secret creation as follows:
    • register runtime, and create configuration secret for CRA if the runtime was not registered previously
    • fetch one time token from Compass, and update secret if the runtime was already registered

The open questions:

  • Where the Compass Runtime ID will be stored? In the first approach we planned to label Kyma resource, but it was agreed to not do so. Should there be some additional resource? A: it makes sense to add a new resource storing a mapping:
    • it will store compass-runtime-id, ''subaccount-id` and 'runtime-id' in labels
    • it will have the same name as Kyma resource
  • How we can verify whether Runtime was registered already? Mind that in trials scenario runtime may be removed and recreated at a later time. A: if the new custom resource exists we can assume that the runtime is registered already
  • How long one time token for runtime lives? A: 1 h
  • Is it possible to fetch one time token without runtimeID? Will subouccountID suffice? A: It is possible, but we need to have Compass Runtime ID to delete the runtime. A: runtimeID is not needed for fetching one time token
  • How synchronisation between Kyma CR in runtime, and Control Plane works? A: changes done in SKR are propagated to the Control Plane.

@Disper Disper removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 15, 2023
@akgalwas akgalwas changed the title Prepare migration plan for moving from the architecture based on the Provisioner to the Compass Manager Compass Manager - prepare migration plan for moving from the architecture based on the Provisioner Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/application-connector Issues or PRs related to application connectivity
Projects
None yet
Development

No branches or pull requests

3 participants