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

[Risk Mitigation] Create backup for ClusterRoleBinding, OIDCConfiguration and ShootSpecs on all SKR clusters on PROD before running migration script + implement restore script #557

Open
5 tasks
tobiscr opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
area/control-plane Related to all activities around Kyma Control Plane kind/feature Categorizes issue or PR as related to a new feature.

Comments

@tobiscr
Copy link
Contributor

tobiscr commented Dec 6, 2024

Description

In case of failures, we have to be able to restore the previous cluster state. KIM is modifiying two resources and we have to create backups of them:

  • Shoot-Spec on Seed-Cluster
  • ClusterRoleBindings on SKR
  • OIDCConfiguration on SKRs

In an emergency case, we have to be able to apply the backup as fast as possible. Therefore, a restore script for the resources located on an SKR required (ClusterRoleBinding and OIDCConfiguration).

AC:

  • Before the migration from Provisioner to KIM is started, a backup is created which dumps
    • Shoot-Specs from Gardener Seed Cluster
    • ClusterRoleBinding resources from SKRs
    • OIDCConfiguration resources from SKRs
  • Restore script is in place quich recovers the backed resouce (ClusterRoleBinding and OIDCConfiguration) on an SKR cluster

Reasons

Mandatory for restoring a defective SKR cluster.

Attachments

@tobiscr tobiscr added kind/feature Categorizes issue or PR as related to a new feature. area/control-plane Related to all activities around Kyma Control Plane labels Dec 6, 2024
@tobiscr tobiscr changed the title [Risk Mitigation] Create backup for ClusterRoleBinding of all productive SKR clusters on PROD [Risk Mitigation] Create backup for ClusterRoleBinding of all productive SKR clusters on PROD before running migration script Dec 6, 2024
@tobiscr tobiscr changed the title [Risk Mitigation] Create backup for ClusterRoleBinding of all productive SKR clusters on PROD before running migration script [Risk Mitigation] Create backup for ClusterRoleBinding and ShootSpecs of all productive SKR clusters on PROD before running migration script Dec 6, 2024
@tobiscr tobiscr changed the title [Risk Mitigation] Create backup for ClusterRoleBinding and ShootSpecs of all productive SKR clusters on PROD before running migration script [Risk Mitigation] Create backup for ClusterRoleBinding and ShootSpecs of all productive SKR clusters on PROD before running migration script Dec 6, 2024
@tobiscr tobiscr changed the title [Risk Mitigation] Create backup for ClusterRoleBinding and ShootSpecs of all productive SKR clusters on PROD before running migration script [Risk Mitigation] Create backup for ClusterRoleBinding, OIDCConfiguration and ShootSpecs of all productive SKR clusters on PROD before running migration script Dec 9, 2024
@tobiscr tobiscr changed the title [Risk Mitigation] Create backup for ClusterRoleBinding, OIDCConfiguration and ShootSpecs of all productive SKR clusters on PROD before running migration script [Risk Mitigation] Create backup for ClusterRoleBinding, OIDCConfiguration and ShootSpecs on all SKR clusters on PROD before running migration script + implement restore script Dec 9, 2024
@akgalwas
Copy link
Contributor

akgalwas commented Dec 19, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Related to all activities around Kyma Control Plane kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants