Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the upgrademode of VMSS to rolling #3519

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

nwnt
Copy link
Contributor

@nwnt nwnt commented Apr 12, 2024

Which issue this PR addresses:

Fixes: ARO-6610 (Upgrade Policy Mode part)

What this PR does / why we need it:

AzSecPack team policy requires that we don't use Manual upgrade policy. Automatic shouldn't be used as it can introduce disruption and is not suitable for production workload. Changing this to rolling also means accepting the default values of the RollingUpgradePolicy, namely 20% maxBatchInstancePercent, maxUnhealthyInstancePercent, maxUnhealthyUpgradeInstancePercent and 0 pauseTimeBetweenBatches.

Test plan for issue:

VMSSes (rp, gateway) can still be created and have upgradepolicy set to rolling

Is there any documentation that needs to be updated for this PR?

N/A

How do you know this will function as expected in production?

VMSSes (rp, gateway) can still be created and have upgradepolicy set to rolling

@hlipsig
Copy link
Contributor

hlipsig commented Apr 12, 2024

/azp run ci,e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Collaborator

@cadenmarchese cadenmarchese left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

makes sense, thanks!

@tsatam
Copy link
Collaborator

tsatam commented Apr 15, 2024

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@cadenmarchese
Copy link
Collaborator

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tsatam
Copy link
Collaborator

tsatam commented Apr 17, 2024

I deployed this PR to int, and the deployment succeeded.

Copy link
Collaborator

@SudoBrendan SudoBrendan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. To be clear, our software now must support N-1 versions, correct? If this is the case, this is worth an email at large to the team.

Copy link
Collaborator

@UlrichSchlueter UlrichSchlueter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@UlrichSchlueter UlrichSchlueter merged commit 902f9f7 into master Apr 25, 2024
19 checks passed
@mociarain mociarain deleted the nwnt/vmss-upgrade-policy branch April 25, 2024 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants