Hello
I am trying to patch a deployment from rolling update to recreate. The command I use is
kubectl patch deployment.apps/frontend -patch ‘{“spec”:{“strategy”:{“type”:“Recreate”}}}’
but it does not remove the other rollingUpdate section. what should do I remove it using kubectl command?
spec:
strategy:
rollingupdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
Any help would be greatly appreciated.