diff options
author | Staffan Olsson <staffan@repos.se> | 2017-08-07 08:24:32 +0200 |
---|---|---|
committer | Staffan Olsson <staffan@repos.se> | 2017-08-07 08:24:32 +0200 |
commit | 4ee79a4e25325aad52ced1c771fe4e45316d0af8 (patch) | |
tree | 57bfb4114ae457407f50b8dd6dcb40c65e196975 /addon-cp/schemas.yml | |
parent | edeca3df36e72ddb464a10c580ae33b8ed1d2f17 (diff) | |
download | kubernetes-kafka-4ee79a4e25325aad52ced1c771fe4e45316d0af8.tar.gz kubernetes-kafka-4ee79a4e25325aad52ced1c771fe4e45316d0af8.tar.bz2 kubernetes-kafka-4ee79a4e25325aad52ced1c771fe4e45316d0af8.zip |
Stay online at update, even with only one replica
Diffstat (limited to 'addon-cp/schemas.yml')
-rw-r--r-- | addon-cp/schemas.yml | 5 |
1 files changed, 5 insertions, 0 deletions
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: |