From 40c6b1700ee9659804428a2be1bcd4bdf67b62fe Mon Sep 17 00:00:00 2001 From: Staffan Olsson Date: Thu, 9 Nov 2017 18:45:22 +0100 Subject: [PATCH] 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. --- kafka/50kafka.yml | 2 ++ zookeeper/50pzoo.yml | 2 ++ zookeeper/51zoo.yml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/kafka/50kafka.yml b/kafka/50kafka.yml index dff4a79f..8f1bf5f6 100644 --- a/kafka/50kafka.yml +++ b/kafka/50kafka.yml @@ -10,6 +10,8 @@ spec: app: kafka serviceName: "broker" replicas: 3 + updateStrategy: + type: OnDelete template: metadata: labels: diff --git a/zookeeper/50pzoo.yml b/zookeeper/50pzoo.yml index 874d6dfe..a57dd1f7 100644 --- a/zookeeper/50pzoo.yml +++ b/zookeeper/50pzoo.yml @@ -11,6 +11,8 @@ spec: storage: persistent serviceName: "pzoo" replicas: 3 + updateStrategy: + type: OnDelete template: metadata: labels: diff --git a/zookeeper/51zoo.yml b/zookeeper/51zoo.yml index 084e8f3a..fdafdef2 100644 --- a/zookeeper/51zoo.yml +++ b/zookeeper/51zoo.yml @@ -10,6 +10,8 @@ spec: storage: ephemeral serviceName: "zoo" replicas: 2 + updateStrategy: + type: OnDelete template: metadata: labels: