You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IMHO this should best be solved by a new flag to run/deploy, because some will want to force a successful deployment, even if it means to re-create some resources. For example, one could add a flag force-deployment with the following defaults for skaffold sub-commands:
Expected behavior
skaffold deploy
when encountering an immutable field should fail with an error.(
skaffold dev
can continue to automatically re-create)Actual behavior
skaffold deploy
deletes and recreates the resource automatically, because it always useskubectl apply --force
. This leads to downtime of workloads.Information
Steps to reproduce the behavior
skaffold deploy
app: nginx
in deployment.yaml toapp: nginx2
(the selectors for Deployment are immutable)skaffold deploy
The text was updated successfully, but these errors were encountered: