Skip to content

Provide configuable Gardener Generic Extensions to Kyma users #992

@ruanxin

Description

@ruanxin

Created on 2025-07-29 by Xin Ruan (@ruanxin ).

Decision log

Name Description
Title Provide Gardener Generic Extensions to Kyma users
Due date 2025-08-31
Status Proposed on 2025-07-30
Decision type Choice
Affected decisions

Context

Gardener offers a variety of generic extensions that can enhance a cluster's functionality, such as improving the security baseline with managed services like Falco. kyma-project/kyma-infrastructure-manager#990 The configuration for these extensions is specified in the Gardener Shoot resource.

Within the Kyma environment, the Kyma Infrastructure Manager (KIM) is the component responsible for managing the Shoot resource for a Kyma runtime. However, there is currently no unified solution that allows Kyma users to enable and configure these valuable Gardener extensions.

This decision record outlines and evaluates two potential architectural approaches to bridge this gap, enabling users to customize their Kyma runtimes with generic Gardener extensions.

Decision Drivers

  • Security: The solution must follow the principle of least privilege, minimizing access scopes and potential attack vectors.
  • User Experience (UX): The process for a user to enable and configure an extension should be straightforward and consistent with existing Kyma and Kubernetes practices.
  • Architectural Cohesion: The design should align with the existing Kyma and Gardener architecture, maintaining a clear separation of concerns between components.

Have a unified user experience

  1. Treat extension as kyma regular module
apiVersion: operator.kyma-project.io/v1beta2
kind: Kyma
spec:
  channel: fast
  modules:
    - name: api-gateway
    - name: falco
    - name: registry-cache

Open questions:
1. Version and channel subscriptions
- falco allows user to configure version https://github.com/gardener/gardener-extension-shoot-falco-service/blob/main/docs/falco-configuration.md#versions-and-update-strategy
- Registry cache seems no versioning concept.

  1. Introduce as extension
kind: Kyma
spec:
  channel: fast
  modules:
    - name: api-gateway
  extensions:
    - name: falco
    - name: registry-cache
Image

Decision

Consequences

References

https://gardener.cloud/docs/extensions/_index#generic-extensions
https://gardener.cloud/docs/gardener/managed_seed/#managedseeds-register-shoot-as-seed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions