Skip to content

Commit

Permalink
Changes update strategy from OnDelete to automatic
Browse files Browse the repository at this point in the history
To see this in action, with no other changes:
kubectl -n kafka patch statefulset kafka --type='json' -p='[{"op": "replace", "path": "/spec/updateStrategy/type", "value": "RollingUpdate"}]'
  • Loading branch information
solsson committed Aug 2, 2017
1 parent 266b75b commit d7657ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ metadata:
spec:
serviceName: "broker"
replicas: 3
updateStrategy:
type: RollingUpdate
template:
metadata:
labels:
Expand Down

0 comments on commit d7657ea

Please sign in to comment.