We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c54f2f2 + 23e4671 commit f84c4e3Copy full SHA for f84c4e3
server/plugins/kubedeploy/deployments.go
@@ -670,7 +670,17 @@ func (x *KubeDeploy) doDeploy(e agent.Event) error {
670
},
671
}
672
deployStrategy = v1beta1.DeploymentStrategy{
673
- Type: "Recreate",
+ Type: v1beta1.RollingUpdateDeploymentStrategyType,
674
+ RollingUpdate: &v1beta1.RollingUpdateDeployment{
675
+ MaxUnavailable: &intstr.IntOrString{
676
+ Type: intstr.String,
677
+ StrVal: "30%",
678
+ },
679
+ MaxSurge: &intstr.IntOrString{
680
681
+ StrVal: "60%",
682
683
684
685
686
0 commit comments