aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStaffan Olsson <staffan@repos.se>2017-08-07 08:24:32 +0200
committerStaffan Olsson <staffan@repos.se>2017-08-07 08:24:32 +0200
commit4ee79a4e25325aad52ced1c771fe4e45316d0af8 (patch)
tree57bfb4114ae457407f50b8dd6dcb40c65e196975
parentedeca3df36e72ddb464a10c580ae33b8ed1d2f17 (diff)
downloadkubernetes-kafka-4ee79a4e25325aad52ced1c771fe4e45316d0af8.tar.gz
kubernetes-kafka-4ee79a4e25325aad52ced1c771fe4e45316d0af8.tar.bz2
kubernetes-kafka-4ee79a4e25325aad52ced1c771fe4e45316d0af8.zip
Stay online at update, even with only one replica
-rw-r--r--addon-cp/rest.yml5
-rw-r--r--addon-cp/schemas.yml5
2 files changed, 10 insertions, 0 deletions
diff --git a/addon-cp/rest.yml b/addon-cp/rest.yml
index f03f5b5..a450eab 100644
--- a/addon-cp/rest.yml
+++ b/addon-cp/rest.yml
@@ -5,6 +5,11 @@ metadata:
namespace: kafka
spec:
replicas: 1
+ strategy:
+ type: RollingUpdate
+ rollingUpdate:
+ maxUnavailable: 0
+ maxSurge: 1
template:
metadata:
labels:
diff --git a/addon-cp/schemas.yml b/addon-cp/schemas.yml
index f85d74c..00bd62f 100644
--- a/addon-cp/schemas.yml
+++ b/addon-cp/schemas.yml
@@ -5,6 +5,11 @@ metadata:
namespace: kafka
spec:
replicas: 1
+ strategy:
+ type: RollingUpdate
+ rollingUpdate:
+ maxUnavailable: 0
+ maxSurge: 1
template:
metadata:
labels: