Strategic merge patch preserves fields not present in the patch body. This means removed volumes, ports, and env vars persist in the running Deployment after a restart. Replace sends the complete spec built from the current compose files — removed fields are actually deleted. Affects Deployment, Service, Ingress, and NodePort updates. Service replace preserves clusterIP (immutable field) by reading it from the existing resource before replacing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| compose | ||
| k8s | ||
| webapp | ||
| __init__.py | ||
| deploy_types.py | ||
| deploy_util.py | ||
| deploy.py | ||
| deployer_factory.py | ||
| deployer.py | ||
| deployment_context.py | ||
| deployment_create.py | ||
| deployment.py | ||
| dns_probe.py | ||
| images.py | ||
| spec.py | ||
| stack_state.py | ||
| stack.py | ||