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

[#184549339] App autoscaler upgrade #3529

Merged
merged 8 commits into from
Jan 8, 2024

Conversation

corlettb
Copy link
Contributor

@corlettb corlettb commented Dec 7, 2023

What

https://www.pivotaltracker.com/story/show/184549339

  • Switch from using the app-autoscaler-deployment.yml to new app-autoscaler.yml base template.
  • Upgrade app-autoscaler from 10.0.0 to 11.4.2.

Here be Dragons

This update will change all the bosh job names for the deployment. As such when this gets deployed it will delete all the autoscaler ec2 instances before deploying the new ones.

This will essentially leave us with app-autoscaler downtime. At a guess 10-20 minutes in staging/production. Here is an example deployment in dev.

We should time when we allow this to be rolled out in production so it is done during a quiet period.

How to review

Deploy to a dev env, see the autoscaler acceptance tests passing. Ensure when deploying you set DISABLE_APP_AUTOSCALER_ACCEPTANCE_TESTS=false as part of your pipeline apply.

Check the dev env's alertmanager (https://alertmanager-1.) to ensure AppAutoscalingIsNotScalingSingleProc and AppAutoscalingIsNotScalingMultiProc alerts aren't going off.


🚨⚠️ Please do not merge this pull request via the GitHub UI ⚠️🚨

risicle and others added 6 commits December 27, 2023 10:57
this involves moving almost all jobs out into their own
instance groups and changing a lot of naming to be based
on ((deployment_name)), meaning quite a bit of hostname
adaptation etc
@corlettb corlettb force-pushed the BC-app-autoscaler-base-manifest-switch branch from 0e29cca to b2d0c79 Compare December 27, 2023 10:58
@corlettb corlettb force-pushed the BC-app-autoscaler-base-manifest-switch branch from b2d0c79 to 40b7330 Compare December 27, 2023 12:20
@corlettb corlettb changed the title Bc app autoscaler base manifest switch [#184549339] App autoscaler upgrade Dec 27, 2023
@corlettb corlettb marked this pull request as ready for review December 27, 2023 14:57
Copy link
Contributor

@dark5un dark5un left a comment

Choose a reason for hiding this comment

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

LGTM

@dark5un dark5un merged commit 96c387b into main Jan 8, 2024
@dark5un dark5un deleted the BC-app-autoscaler-base-manifest-switch branch January 8, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants