along the same lines, wouldn't it be simpler to run the setup jobs as init containers of the gms deployment?
b
bulky-electrician-72362
10/13/2022, 10:43 AM
hey Matt,
that would mean every pod restart or scale up would run those setupjobs. They only required to run when the versions are updated.
c
clever-garden-23538
10/13/2022, 4:42 PM
but they're idempotent, so what's the harm
clever-garden-23538
10/13/2022, 4:42 PM
one less thing for the operator to worry about
b
bulky-electrician-72362
10/14/2022, 6:42 AM
I see your point.
In case of upgrades for big deployments (multiple gms's), it would start the init container simultaneously and it could cause problems in case of ES reindexing.