Upgrades
Use this page for safe upgrade sequencing of the Kubernetes job and its supporting Marketplace configuration.
Upgrade principles
- Pin runtime images by digest for release upgrades whenever possible
- Delete and recreate Kubernetes Jobs instead of trying to patch immutable job specs
- Do not shrink PVC sizes between releases
- Keep namespace, release name, and storage ownership aligned across upgrades
- Validate the chart with
helm lintandhelm templatebefore upgrading a customer environment
Recommended upgrade sequence
- Validate the new chart and values locally
- Confirm the target image tag or digest and intended run mode
- Delete the existing job object if the spec will change
- Run
helm upgrade --installwith the new values - Watch the new job from start to completion
- Verify the output package and seal artifacts after the run
Job immutability
Kubernetes Jobs cannot be upgraded in place when the pod template changes. Use:
kubectl -n "${NAMESPACE}" delete job "${APP_NAME}" --ignore-not-found
before re-running the Helm upgrade command.
Profile changes
Moving between Standard and Deep is not just a cosmetic change. It can involve:
- Different image tags
- Different run modes
- Different resource requests
- Different PVC size expectations
- Different Marketplace usage metrics
Treat this as a real upgrade event, not a small patch.
PVC sizing rules
Do not shrink an existing PVC. If the current claim is larger than the new requested size, Kubernetes will reject the change.
If you must reduce the size, delete and recreate the PVC with explicit acceptance of data loss.
Helper pod cleanup
If helper pods such as gbx-output-reader are still attached to a ReadWriteOnce volume, remove them before upgrading or rerunning:
kubectl -n "${NAMESPACE}" delete pod gbx-output-reader --ignore-not-found
Post-upgrade verification
After a successful upgrade, verify:
- The job starts with the intended image and run mode
- Entitlement calls succeed
- Expected output files appear under the new
run_id - The seal bundle is present and verifiable
See Output File Reference and Verification Seal.