control-plane icon indicating copy to clipboard operation
control-plane copied to clipboard

Extend Provisioner to support the configuration of seeds within the same region as the shoot has

Open tobiscr opened this issue 1 year ago • 1 comments

Description

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

This requires a modification of the Provisioner logic to be able to

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

AC:

  • [ ] Provisioner contract gets extended to support also 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.

Reasons

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

Attachments

Relates to https://github.com/kyma-project/kyma/issues/18182

tobiscr avatar May 29 '24 06:05 tobiscr

PR for this feature: https://github.com/kyma-project/control-plane/pull/3440

tobiscr avatar May 29 '24 06:05 tobiscr

will be handled by KIM only.. closing this as it's duplicate of https://github.com/kyma-project/infrastructure-manager/issues/241

tobiscr avatar Sep 26 '24 07:09 tobiscr