Skip to content

Commit 40c6b17

Browse files
committed
Sets OnDelete explicitly, as RollingUpdate is a new default
Due to the use of config map for most of the conifg, RollingUpdate will be surprising, while still not preventing running pods that don't have the applied configuration. An automation effort would be required for proper RollingUpdate behavior.
1 parent 2257cd1 commit 40c6b17

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

kafka/50kafka.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ spec:
1010
app: kafka
1111
serviceName: "broker"
1212
replicas: 3
13+
updateStrategy:
14+
type: OnDelete
1315
template:
1416
metadata:
1517
labels:

zookeeper/50pzoo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
storage: persistent
1212
serviceName: "pzoo"
1313
replicas: 3
14+
updateStrategy:
15+
type: OnDelete
1416
template:
1517
metadata:
1618
labels:

zookeeper/51zoo.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ spec:
1010
storage: ephemeral
1111
serviceName: "zoo"
1212
replicas: 2
13+
updateStrategy:
14+
type: OnDelete
1315
template:
1416
metadata:
1517
labels:

0 commit comments

Comments
 (0)