-
Notifications
You must be signed in to change notification settings - Fork 56
Description
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:
- Completely new InfinispanV2 CRD
- 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