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

Support the configuration of seeds within the same region as the shoot [KIM/feature] #241

Open
1 of 5 tasks
Tracked by #112
tobiscr opened this issue May 29, 2024 · 1 comment
Open
1 of 5 tasks
Tracked by #112
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 May 29, 2024

Description

As part of EPIC kyma-project/kyma#18182, we are going to offer customers the option request a shoot and seed in the same region.

This requires a modification of KIM to be able to

  • Receive the information that seed and shoot should be in the same region (will be an additional boolean flag in RuntimeCR)
  • Set the proper fields in the Shoot-spec for Gardener (label-selectors for seeds)

AC:

  • KIM contract (RuntimeCR) gets extended to support a boolean-field which indicates whether seed and shoot have to be in the same region
  • If this field is set, the Shoot-spec includes the required configuration (label-selectors for seed) to enforce that the shoot will only be created if a corresponding seed exists
  • Failure cases during the shoot provisioning (e.g. shoot hangs forever in Pending state) are detected and returned as failure to KEB.
  • Fail fast: Before creating the Shoot-spec, KIM will evaluate whether a seed exists in the requested region. If no seed exists, the RuntimeCR will go into an Error state and indicating that no matching seed was found.

Reasons

Enforce seed and shoot in same region to improve latency and address security related concerns.

Attachments

Relates to
kyma-project/kyma#18182

@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 May 29, 2024
@tobiscr tobiscr changed the title Support the configuration of seeds within the same region as the shoot [KIM/feature] Support the configuration of seeds within the same region as the shoot Jun 26, 2024
@tobiscr tobiscr changed the title [KIM/feature] Support the configuration of seeds within the same region as the shoot Support the configuration of seeds within the same region as the shoot [KIM/feature] Jun 26, 2024
@tobiscr
Copy link
Contributor Author

tobiscr commented Jul 25, 2024

See https://github.com/gardener/gardener/blob/v1.84.1/example/90-shoot.yaml#L365-L368 for the Shoot-spec related section that needs to be touched

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

3 participants