Replace Deployments when the strategy type changes #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/yarr-once-over"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Switching the live Deployments to Recreate failed in preview:
"spec.strategy.rollingUpdate: Forbidden: may not be specified when
strategy type is 'Recreate'". The API server defaulted rollingUpdate
when it created each Deployment, and server-side apply doesn't remove
it.
Replace each Deployment when spec.strategy.type changes, deleting the
old one first, so the new object starts without rollingUpdate and old
and new pods never run together. This replaces the six Deployments once;
later deploys don't change the strategy type.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com