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 Nov 9, 2017
1 parent 32a013d commit f74c85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
serviceName: "broker"
replicas: 3
updateStrategy:
type: OnDelete
type: RollingUpdate
template:
metadata:
labels:
Expand Down

0 comments on commit f74c85a

Please sign in to comment.