From 1eed6b6082cd86435b1b08c72644947a44cf293a Mon Sep 17 00:00:00 2001 From: Rajdeep Singh Chauhan Date: Wed, 29 May 2024 17:56:50 -0400 Subject: [PATCH] DONT PUSH - CHECK GATEWAY VMSS LOGS --- pkg/deploy/upgrade_gateway.go | 2 +- pkg/deploy/upgrade_rp.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/deploy/upgrade_gateway.go b/pkg/deploy/upgrade_gateway.go index bd7c35f8820..dbb2d47670b 100644 --- a/pkg/deploy/upgrade_gateway.go +++ b/pkg/deploy/upgrade_gateway.go @@ -22,7 +22,7 @@ func (d *deployer) UpgradeGateway(ctx context.Context) error { err := d.gatewayWaitForReadiness(timeoutCtx, gatewayVMSSPrefix+d.version) if err != nil { // delete VMSS since VMSS instances are not healthy - if *d.config.Configuration.VMSSCleanupEnabled { + if false && *d.config.Configuration.VMSSCleanupEnabled { d.vmssCleaner.RemoveFailedNewScaleset(ctx, d.config.GatewayResourceGroupName, gatewayVMSSPrefix+d.version) } return err diff --git a/pkg/deploy/upgrade_rp.go b/pkg/deploy/upgrade_rp.go index d03c474808d..b2a3d3b3623 100644 --- a/pkg/deploy/upgrade_rp.go +++ b/pkg/deploy/upgrade_rp.go @@ -22,7 +22,7 @@ func (d *deployer) UpgradeRP(ctx context.Context) error { err := d.rpWaitForReadiness(timeoutCtx, rpVMSSPrefix+d.version) if err != nil { // delete VMSS since VMSS instances are not healthy - if *d.config.Configuration.VMSSCleanupEnabled { + if false && *d.config.Configuration.VMSSCleanupEnabled { d.vmssCleaner.RemoveFailedNewScaleset(ctx, d.config.RPResourceGroupName, rpVMSSPrefix+d.version) } return err