diff --git a/k8s-deployment.tpl b/k8s-deployment.tpl index 4cea8801c9e5ca3c4ee881d64ff7abbe7a2e652e..45ec71958c43f13b6fe246eacf27475775cab928 100644 --- a/k8s-deployment.tpl +++ b/k8s-deployment.tpl @@ -5,7 +5,14 @@ metadata: labels: app: {APP_NAME} spec: - replicas: 1 + replicas: {APP_COUNT} + revisionHistoryLimit: 5 + progressDeadlineSeconds: 600 + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 30% + maxUnavailable: 30% selector: matchLabels: app: {APP_NAME}