Skip to content

Commit

Permalink
Change the upgrademode of VMSS to rolling
Browse files Browse the repository at this point in the history
  • Loading branch information
nwnt committed Apr 12, 2024
1 parent 41ebfbf commit cac8df6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/deploy/assets/env-development.json
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
},
"properties": {
"upgradePolicy": {
"mode": "Manual"
"mode": "Rolling"
},
"virtualMachineProfile": {
"osProfile": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/deploy/assets/gateway-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
},
"properties": {
"upgradePolicy": {
"mode": "Manual"
"mode": "Rolling"
},
"virtualMachineProfile": {
"osProfile": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/deploy/assets/rp-production.json
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@
},
"properties": {
"upgradePolicy": {
"mode": "Manual"
"mode": "Rolling"
},
"virtualMachineProfile": {
"osProfile": {
Expand Down
2 changes: 1 addition & 1 deletion pkg/deploy/generator/resources_dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (g *generator) devProxyVMSS() *arm.Resource {
},
VirtualMachineScaleSetProperties: &mgmtcompute.VirtualMachineScaleSetProperties{
UpgradePolicy: &mgmtcompute.UpgradePolicy{
Mode: mgmtcompute.UpgradeModeManual,
Mode: mgmtcompute.UpgradeModeRolling,
},
VirtualMachineProfile: &mgmtcompute.VirtualMachineScaleSetVMProfile{
OsProfile: &mgmtcompute.VirtualMachineScaleSetOSProfile{
Expand Down
2 changes: 1 addition & 1 deletion pkg/deploy/generator/resources_gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ func (g *generator) gatewayVMSS() *arm.Resource {
Tags: map[string]*string{},
VirtualMachineScaleSetProperties: &mgmtcompute.VirtualMachineScaleSetProperties{
UpgradePolicy: &mgmtcompute.UpgradePolicy{
Mode: mgmtcompute.UpgradeModeManual,
Mode: mgmtcompute.UpgradeModeRolling,
},
VirtualMachineProfile: &mgmtcompute.VirtualMachineScaleSetVMProfile{
OsProfile: &mgmtcompute.VirtualMachineScaleSetOSProfile{
Expand Down
2 changes: 1 addition & 1 deletion pkg/deploy/generator/resources_rp.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ func (g *generator) rpVMSS() *arm.Resource {
Tags: map[string]*string{},
VirtualMachineScaleSetProperties: &mgmtcompute.VirtualMachineScaleSetProperties{
UpgradePolicy: &mgmtcompute.UpgradePolicy{
Mode: mgmtcompute.UpgradeModeManual,
Mode: mgmtcompute.UpgradeModeRolling,
},
VirtualMachineProfile: &mgmtcompute.VirtualMachineScaleSetVMProfile{
OsProfile: &mgmtcompute.VirtualMachineScaleSetOSProfile{
Expand Down

0 comments on commit cac8df6

Please sign in to comment.