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

Kyma Environment Broker integration with Infrastructure Manager #58

Closed
8 tasks
PK85 opened this issue Sep 20, 2023 · 3 comments
Closed
8 tasks

Kyma Environment Broker integration with Infrastructure Manager #58

PK85 opened this issue Sep 20, 2023 · 3 comments
Assignees
Labels
Epic kind/feature Categorizes issue or PR as related to a new feature. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Comments

@PK85
Copy link

PK85 commented Sep 20, 2023

Description

In order to provide support for dynamic kubeconfigs in the Control Plane, KEB must integrate with the Cluster Inventory.

Reasons

In the current architecture, KEB takes kubeconfig from the Provisioner, and creates a secret. The kubeconfig returned by the Provisioner is static, and should be no longer used by other components. Cluster Inventory is a new component that is responsible for dynamic kubeconfig management. KEB must delegate the task of kubeconfig secret creation to the Cluster Inventory by creating cluster CR.

High-Level Diagram

Image

Acceptance criteria

  • 1) KEB must create Cluster CR containing the following data:
    • shoot name
    • secret name
  • 2) Cluster CR must contain the same set of labels as defined here
  • 3) Cluster CR name contains RuntimeID
  • 4) The functionality in KEB is enabled by a feature flag
  • 5) Decide how to pass responsibility for secret management to the infrastructure manager.
  • 6) Check if KEB jobs require adjustments
  • 7) Activate feature on dev and check if e2e are green
  • 8) KEB generates RuntimeID, instead of using the one generated by the Provisioner (we need to double check that if this is needed now. Maybe we should start to generate runtimeID when provisioned will be gone)

Info

@PK85 PK85 added 2023-Q4 kind/feature Categorizes issue or PR as related to a new feature. labels Sep 20, 2023
@kyma-project kyma-project deleted a comment from piotrmiskiewicz Sep 27, 2023
@PK85 PK85 added the Epic label Nov 6, 2023
@piotrmiskiewicz
Copy link
Member

piotrmiskiewicz commented Nov 15, 2023

Technical details:

  1. A new step which creates a Cluster CR with provided shoot name and other important fields:

NOTE: the existing clusters will be handled by migration tool written by Frogs

  1. The RuntimeID generation by KEB will be postponed and run when Provisioner is finally detached

@PK85 PK85 added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Nov 15, 2023
@piotrmiskiewicz
Copy link
Member

piotrmiskiewicz commented Nov 15, 2023

Tasks:

This was referenced Nov 22, 2023
@ralikio
Copy link
Member

ralikio commented Feb 13, 2024

Done

@ralikio ralikio closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic kind/feature Categorizes issue or PR as related to a new feature. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

No branches or pull requests

3 participants