Skip to content

Commit f74c85a

Browse files
committed
Changes update strategy from OnDelete to automatic
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"}]'
1 parent 32a013d commit f74c85a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kafka/50kafka.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
serviceName: "broker"
1212
replicas: 3
1313
updateStrategy:
14-
type: OnDelete
14+
type: RollingUpdate
1515
template:
1616
metadata:
1717
labels:

0 commit comments

Comments
 (0)