Skip to content

spec.container and spec.service.container consolidation #2426

@Crumby

Description

@Crumby

Having two API field to manage pods container related configurations is confusing and it's not clear which configuration should target which part of the API.

From the historical perspective spec.service.container was meant to be used with DataGrid service type which is already the only one currently support (and thus irrelevant). On the other side spec.container was meant to be used with any service type: Cache and DataGrid.

Configuration options:
spec.container: cpu, memory, extraJvmOpts. cliExtraJvmOpts, routerExtraJvmOpts
spec.service.container: storageSize, ephemeralStorage, livenessProbe, readinessProbe, startupProbe, terminationGracePeriod

Options:

  1. Completely new InfinispanV2 CRD
  2. Consolidate one under the other one

Ad 1. Given we have already other deprecated API it would ideal to come up with InfnispanV2 CRD. Nevertheless that would mean extensive amount of work

Ad 2. Simpler solution which will increase amount of deprecated fields in the CRD though and extends boilerplate to accommodate for the changes

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